diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2014-05-14 12:04:31 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2014-05-14 12:04:31 +0000 |
commit | e94ff09d222dec9ea91f9dd774e2b422a705e0d1 (patch) | |
tree | d1226ae3f585d16e68f0d9158a9d1c7e8e4f5673 /net/libbgpdump/Makefile | |
parent | 0d5b95b260a26dad5ec5b21a3079a12afade2c9d (diff) | |
download | ports-e94ff09d222dec9ea91f9dd774e2b422a705e0d1.tar.gz ports-e94ff09d222dec9ea91f9dd774e2b422a705e0d1.zip |
Notes
Diffstat (limited to 'net/libbgpdump/Makefile')
-rw-r--r-- | net/libbgpdump/Makefile | 23 |
1 files changed, 7 insertions, 16 deletions
diff --git a/net/libbgpdump/Makefile b/net/libbgpdump/Makefile index a6ac41abe71d..4f881e8b1eab 100644 --- a/net/libbgpdump/Makefile +++ b/net/libbgpdump/Makefile @@ -15,25 +15,16 @@ LICENSE= GPLv2 GNU_CONFIGURE= yes USE_LDCONFIG= yes -PORTDOCS= README -PORTEXAMPLES= example.c +OPTIONS_DEFINE= DOCS EXAMPLES -NO_STAGE= yes do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/bgpdump ${PREFIX}/bin - @${INSTALL_DATA} ${WRKSRC}/libbgpdump.* ${PREFIX}/lib + @${INSTALL_PROGRAM} ${WRKSRC}/bgpdump ${STAGEDIR}${PREFIX}/bin + @${INSTALL_DATA} ${WRKSRC}/libbgpdump.* ${STAGEDIR}${PREFIX}/lib .for i in bgpdump_attr.h bgpdump_formats.h bgpdump_lib.h - @${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/include + @${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/include .endfor - -post-install: -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} -.endif -.if !defined(NOPORTEXAMPLES) - ${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/example.c ${EXAMPLESDIR} -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${EXAMPLESDIR} + @${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/example.c ${STAGEDIR}${EXAMPLESDIR} .include <bsd.port.mk> |