Support Stagedir

This commit is contained in:
Tilman Keskinoz 2013-12-30 16:34:57 +00:00
parent d5432aae23
commit a55af0ef36
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=338135

View file

@ -22,7 +22,6 @@ MAKE_ENV+= OUT="-o" LIBS=${PTHREAD_LIBS}
PLIST_FILES+= bin/netio6
.endif
NO_STAGE= yes
do-build:
cd ${WRKSRC}; \
${SETENV} ${MAKE_ENV} O=.o CFLAGS="${CFLAGS}" ${GMAKE} all
@ -32,9 +31,9 @@ do-build:
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/netio ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/netio ${STAGEDIR}${PREFIX}/bin
.if defined(WITH_IPV6)
${INSTALL_PROGRAM} ${WRKSRC}/netio6 ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/netio6 ${STAGEDIR}${PREFIX}/bin
.endif
.include <bsd.port.mk>