diff options
author | skreuzer <skreuzer@FreeBSD.org> | 2014-06-21 02:02:35 +0800 |
---|---|---|
committer | skreuzer <skreuzer@FreeBSD.org> | 2014-06-21 02:02:35 +0800 |
commit | 9b96da2d98ad65cea5134cfe870ffd733bb27196 (patch) | |
tree | e26dd1a87c32758d726a3b7fa4d0bde4a7545320 | |
parent | 30525e75aa843588a0da8f8930c3a0add4e53838 (diff) | |
download | freebsd-ports-gnome-9b96da2d98ad65cea5134cfe870ffd733bb27196.tar.gz freebsd-ports-gnome-9b96da2d98ad65cea5134cfe870ffd733bb27196.tar.zst freebsd-ports-gnome-9b96da2d98ad65cea5134cfe870ffd733bb27196.zip |
Add staging support
Define LICENSE
Convert to new options framework
-rw-r--r-- | net/py-pcs/Makefile | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/net/py-pcs/Makefile b/net/py-pcs/Makefile index 3eefe22f543f..ab54bacad4f4 100644 --- a/net/py-pcs/Makefile +++ b/net/py-pcs/Makefile @@ -10,6 +10,8 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= gnn@FreeBSD.org COMMENT= Protocol Construction Set +LICENSE= BSD3CLAUSE + PORTDOCS= pcs.pdf PORTEXAMPLES= * @@ -19,18 +21,18 @@ USE_PYTHON= yes USE_PYDISTUTILS= yes USE_PYTHON_PREFIX= yes -NO_STAGE= yes +.include <bsd.port.options.mk> .include <bsd.port.pre.mk> post-install: -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - cd ${WRKSRC}/docs/Web && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC}/docs/Web && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .endif -.if !defined(NOPORTEXAMPLES) - @${MKDIR} ${EXAMPLESDIR} - cd ${WRKSRC}/scripts && ${INSTALL_DATA} ${PORTEXAMPLES} ${EXAMPLESDIR} +.if ${PORT_OPTIONS:MEXAMPLES} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + cd ${WRKSRC}/scripts && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR} .endif .include <bsd.port.post.mk> |