diff options
author | alex <alex@FreeBSD.org> | 2000-06-28 20:53:16 +0800 |
---|---|---|
committer | alex <alex@FreeBSD.org> | 2000-06-28 20:53:16 +0800 |
commit | b816d59fb0dfcee5f702078a01c1dbdee37ce099 (patch) | |
tree | b8efdb61149a34d8706a3e659ea3d493dafaffc1 /net/trafshow4/Makefile | |
parent | 25854433e9bba1db39d5d453bc15b4a149122cbd (diff) | |
download | freebsd-ports-gnome-b816d59fb0dfcee5f702078a01c1dbdee37ce099.tar.gz freebsd-ports-gnome-b816d59fb0dfcee5f702078a01c1dbdee37ce099.tar.zst freebsd-ports-gnome-b816d59fb0dfcee5f702078a01c1dbdee37ce099.zip |
- Support CFLAGS/PREFIX/LOCALBASE properly
- Add WWW: line into pkg/DESCR
PR: 19345
Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Diffstat (limited to 'net/trafshow4/Makefile')
-rw-r--r-- | net/trafshow4/Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/net/trafshow4/Makefile b/net/trafshow4/Makefile index 6a7c59b2d218..e6fc8b78ad04 100644 --- a/net/trafshow4/Makefile +++ b/net/trafshow4/Makefile @@ -19,14 +19,18 @@ LIB_DEPENDS= ncurses.4:${PORTSDIR}/devel/ncurses .endif GNU_CONFIGURE= yes -CONFIGURE_ENV= LDFLAGS=-L/usr/local/lib +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/ncurses -I${LOCALBASE}/include" \ + LIBS="-L${LOCALBASE}/lib" ALL_TARGET= trafshow MAN1= trafshow.1 +post-patch: + @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/*.c + do-install: - @ ${INSTALL_PROGRAM} ${WRKSRC}/trafshow ${PREFIX}/bin - @ ${INSTALL_MAN} ${WRKSRC}/trafshow.1 ${PREFIX}/man/man1 - @ ${INSTALL_DATA} ${WRKSRC}/.trafshow ${PREFIX}/etc/trafshow + ${INSTALL_PROGRAM} ${WRKSRC}/trafshow ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/trafshow.1 ${PREFIX}/man/man1 + ${INSTALL_DATA} ${WRKSRC}/.trafshow ${PREFIX}/etc/trafshow .include <bsd.port.post.mk> |