aboutsummaryrefslogtreecommitdiff
path: root/net/trafshow3/Makefile
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2014-02-21 09:54:10 +0000
committerMartin Wilke <miwi@FreeBSD.org>2014-02-21 09:54:10 +0000
commit7b1be1e2b08f82a88e1c3a6e1e850285064bffaa (patch)
tree5938148381a05ba1e17d5ba3137f856f66ceaec2 /net/trafshow3/Makefile
parente2ea70b9f48e0707377e79a93ccdb8364e664453 (diff)
downloadports-7b1be1e2b08f82a88e1c3a6e1e850285064bffaa.tar.gz
ports-7b1be1e2b08f82a88e1c3a6e1e850285064bffaa.zip
Notes
Diffstat (limited to 'net/trafshow3/Makefile')
-rw-r--r--net/trafshow3/Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/net/trafshow3/Makefile b/net/trafshow3/Makefile
index 74bd665ab3fc..e7768e9bf6db 100644
--- a/net/trafshow3/Makefile
+++ b/net/trafshow3/Makefile
@@ -26,18 +26,15 @@ CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib"
CPPFLAGS+= -I${LOCALBASE}/include
ALL_TARGET= trafshow
-MAN1= trafshow.1
-
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -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.dist
- if [ ! -f ${PREFIX}/etc/trafshow ]; then \
- ${CP} ${PREFIX}/etc/trafshow.dist ${PREFIX}/etc/trafshow; \
+ ${INSTALL_PROGRAM} ${WRKSRC}/trafshow ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/trafshow.1 ${STAGEDIR}${PREFIX}/man/man1
+ ${INSTALL_DATA} ${WRKSRC}/.trafshow ${STAGEDIR}${PREFIX}/etc/trafshow.dist
+ if [ ! -f ${STAGEDIR}${PREFIX}/etc/trafshow ]; then \
+ ${CP} ${STAGEDIR}${PREFIX}/etc/trafshow.dist ${STAGEDIR}${PREFIX}/etc/trafshow; \
fi
.include <bsd.port.mk>