diff options
author | danilo <danilo@FreeBSD.org> | 2013-09-28 22:42:15 +0800 |
---|---|---|
committer | danilo <danilo@FreeBSD.org> | 2013-09-28 22:42:15 +0800 |
commit | 97cab068171ae9c05941f1a5d5abc9ad77ee3bfe (patch) | |
tree | 20cb61f760e7a7a37de2381d7a3dbf9553c54ec0 | |
parent | 1f5fc033bd5ecb160b6bbd7c1df091113b6240f7 (diff) | |
download | freebsd-ports-gnome-97cab068171ae9c05941f1a5d5abc9ad77ee3bfe.tar.gz freebsd-ports-gnome-97cab068171ae9c05941f1a5d5abc9ad77ee3bfe.tar.zst freebsd-ports-gnome-97cab068171ae9c05941f1a5d5abc9ad77ee3bfe.zip |
- Change maintainer email to @FreeBSD.org
- Add stage support
Approved by: wg (mentor)
-rw-r--r-- | devel/pmd/Makefile | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/devel/pmd/Makefile b/devel/pmd/Makefile index f049928f46e0..32e310ae0f29 100644 --- a/devel/pmd/Makefile +++ b/devel/pmd/Makefile @@ -7,7 +7,7 @@ CATEGORIES= devel java MASTER_SITES= SF DISTNAME= ${PORTNAME}-bin-${PORTVERSION} -MAINTAINER= danilogondolfo@gmail.com +MAINTAINER= danilo@FreeBSD.org COMMENT= Static analysis tool for Java source code LICENSE= BSD @@ -22,20 +22,15 @@ PLIST_SUB+= PORTVERSION=${PORTVERSION} OPTIONS_DEFINE= DOCS -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e 's|#!/bin/bash|#!/bin/sh|' \ -e 's|LIB_DIR=$$(pwd -P)|LIB_DIR=${DATADIR}|' ${WRKSRC}/bin/run.sh -.include <bsd.port.options.mk> - do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/bin/run.sh ${PREFIX}/bin/pmd - @${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/lib/* ${DATADIR} -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${DOCSDIR} -.endif + ${INSTALL_SCRIPT} ${WRKSRC}/bin/run.sh ${STAGEDIR}${PREFIX}/bin/pmd + @${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/lib/* ${STAGEDIR}${DATADIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |