diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2014-04-04 07:40:14 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2014-04-04 07:40:14 +0000 |
commit | 1c8975353bdc7160af1c532b0036790153f2f4c5 (patch) | |
tree | d2c05446b41fda60aca15b5e367f352e5d8fcc12 /mail/hbiff/Makefile | |
parent | A simple, fast, memory-efficient and threadsafe implementation of GetText (diff) |
- Support staging
- Respect CC
- Respect CFLAGS
- Modernize port
Notes
Notes:
svn path=/head/; revision=350061
Diffstat (limited to 'mail/hbiff/Makefile')
-rw-r--r-- | mail/hbiff/Makefile | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/mail/hbiff/Makefile b/mail/hbiff/Makefile index 4e4d46a1915a..1f678d23904e 100644 --- a/mail/hbiff/Makefile +++ b/mail/hbiff/Makefile @@ -6,21 +6,24 @@ PORTVERSION= 1.2 PORTREVISION= 2 CATEGORIES= mail MASTER_SITES= ftp://nuxi.ucdavis.edu/pub/misc/ \ - ${MASTER_SITE_LOCAL} + LOCAL MASTER_SITE_SUBDIR= obrien MAINTAINER= obrien@FreeBSD.org COMMENT= A replacement for xbiff that handles popup window with mail headers USE_XORG= x11 -MAN1= hbiff.1 -NO_STAGE= yes +CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib +LDFLAGS+= -lX11 + +PLIST_FILES= bin/hbiff man/man1/hbiff.1.gz + do-build: - cd ${WRKSRC} ; cc -I${LOCALBASE}/include hbiff.c -L${LOCALBASE}/lib -lX11 + ${CC} ${CFLAGS} ${LDFLAGS} ${WRKSRC}/hbiff.c -o ${WRKSRC}/${PORTNAME} do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/a.out ${PREFIX}/bin/hbiff - @cd ${WRKSRC} ; ${INSTALL_MAN} ${MAN1} ${PREFIX}/man/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include <bsd.port.mk> |