Makefile 696 B

123456789101112131415161718192021222324252627282930313233
  1. # $OpenBSD: Makefile,v 1.24 2015/01/22 18:41:16 naddy Exp $
  2. COMMENT= translate character sets
  3. DISTNAME= tcs
  4. PKGNAME= tcs-19950325
  5. CATEGORIES= plan9
  6. MASTER_SITES= ftp://plan9.bell-labs.com/plan9/unixsrc/ \
  7. ftp://ftp.gwdg.de/pub/gnu2/plan9/unixsrc/
  8. EXTRACT_SUFX= .shar.Z
  9. EXTRACT_CASES= *.shar.Z) ${GZIP_CMD} -dc ${FULLDISTDIR}/$$archive | /bin/sh;;
  10. MAINTAINER= Markus Friedl <markus@openbsd.org>
  11. PERMIT_PACKAGE_CDROM= Yes
  12. WANTLIB= c
  13. MAKE_FLAGS= CFLAGS="${CFLAGS} -D_POSIX_SOURCE"
  14. ALL_TARGET= tcs
  15. WRKDIST= ${WRKDIR}
  16. do-test:
  17. cd ${WRKSRC}; ./regress
  18. do-install:
  19. ${INSTALL_PROGRAM} ${WRKSRC}/tcs ${PREFIX}/bin
  20. ${INSTALL_MAN} ${WRKSRC}/tcs.1 ${PREFIX}/man/man1
  21. .include <bsd.port.mk>