diff options
author | pawel <pawel@FreeBSD.org> | 2014-04-01 18:29:43 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2014-04-01 18:29:43 +0800 |
commit | c37e20af06dcdc5461046d17a57bcfb2e8a5dca3 (patch) | |
tree | 96da3e85724e4a416b9809eccd2c5898c8fda5aa /devel | |
parent | d1c2ef7515c857b20f76cf32ffe9f2b4baf6d5b3 (diff) | |
download | freebsd-ports-gnome-c37e20af06dcdc5461046d17a57bcfb2e8a5dca3.tar.gz freebsd-ports-gnome-c37e20af06dcdc5461046d17a57bcfb2e8a5dca3.tar.zst freebsd-ports-gnome-c37e20af06dcdc5461046d17a57bcfb2e8a5dca3.zip |
- Add staging support
- Use PORTDATA for plist generation
- Fix WWW line in pkg-descr
Diffstat (limited to 'devel')
-rw-r--r-- | devel/maven3/Makefile | 23 | ||||
-rw-r--r-- | devel/maven3/pkg-descr | 2 |
2 files changed, 11 insertions, 14 deletions
diff --git a/devel/maven3/Makefile b/devel/maven3/Makefile index 1de159b6ef6f..1142885fcafb 100644 --- a/devel/maven3/Makefile +++ b/devel/maven3/Makefile @@ -25,24 +25,21 @@ SUB_LIST= CLASSWORLDS_JAR=plexus-classworlds-2.4.jar INSTANCE_FILE= 030004-${PORTNAME}-${PORTVERSION} INSTANCES_DIR= etc/maven-wrapper/instances.d/ PLIST_FILES= ${INSTANCES_DIR}/${INSTANCE_FILE} +PORTDATA= * -NO_STAGE= yes post-extract: ${RM} -f ${WRKSRC}/bin/*.bat ${ECHO_CMD} "${DATADIR}" > ${WRKSRC}/${INSTANCE_FILE} do-install: - cd ${WRKSRC} && ${FIND} . -type d -exec ${MKDIR} ${DATADIR}/{} \; - cd ${WRKSRC} && ${FIND} . -type f -not -path "\./bin/" -exec ${INSTALL_DATA} {} ${DATADIR}/{} \; - ${INSTALL_DATA} ${WRKSRC}/bin/m2.conf ${DATADIR}/bin/ - ${INSTALL_SCRIPT} ${WRKDIR}/mvn.sh ${DATADIR}/bin/mvn - ${MKDIR} ${PREFIX}/${INSTANCES_DIR} - ${INSTALL_DATA} ${WRKSRC}/${INSTANCE_FILE} ${PREFIX}/${INSTANCES_DIR} - -post-install: - @${FIND} -s ${WRKSRC} -not -type d 2>/dev/null | \ - ${SED} -ne 's,^${WRKSRC},${DATADIR:S,^${PREFIX}/,,},p' >> ${TMPPLIST} - @${FIND} -s -d ${WRKSRC} -type d 2>/dev/null | \ - ${SED} -ne 's,^${WRKSRC},@dirrm ${DATADIR:S,^${PREFIX}/,,},p' >> ${TMPPLIST} + cd ${WRKSRC} && ${FIND} . -type d -exec ${MKDIR} \ + ${STAGEDIR}${DATADIR}/{} \; + cd ${WRKSRC} && ${FIND} . -type f -not -path "\./bin/" \ + -exec ${INSTALL_DATA} {} ${STAGEDIR}${DATADIR}/{} \; + ${INSTALL_DATA} ${WRKSRC}/bin/m2.conf ${STAGEDIR}${DATADIR}/bin + ${INSTALL_SCRIPT} ${WRKDIR}/mvn.sh ${STAGEDIR}${DATADIR}/bin/mvn + @${MKDIR} ${STAGEDIR}${PREFIX}/${INSTANCES_DIR} + ${INSTALL_DATA} ${WRKSRC}/${INSTANCE_FILE} \ + ${STAGEDIR}${PREFIX}/${INSTANCES_DIR} .include <bsd.port.mk> diff --git a/devel/maven3/pkg-descr b/devel/maven3/pkg-descr index 65671ec5f41d..1dd723d5be80 100644 --- a/devel/maven3/pkg-descr +++ b/devel/maven3/pkg-descr @@ -2,4 +2,4 @@ Apache Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project's build, reporting and documentation from a central piece of information. -WWW: http://maven.apache.org/ +WWW: http://maven.apache.org/ |