diff options
Diffstat (limited to 'graphics/batik/Makefile')
-rw-r--r-- | graphics/batik/Makefile | 23 |
1 files changed, 5 insertions, 18 deletions
diff --git a/graphics/batik/Makefile b/graphics/batik/Makefile index b8f617c7ed7..6c998eed5f7 100644 --- a/graphics/batik/Makefile +++ b/graphics/batik/Makefile @@ -1,4 +1,3 @@ -# ex:ts=8 # Ports collection makefile for: batik # Date created: Feb 25, 2004 # Whom: ijliao @@ -8,7 +7,7 @@ PORTNAME= batik PORTVERSION= 1.7 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics java MASTER_SITES= ${MASTER_SITE_APACHE} MASTER_SITE_SUBDIR= xmlgraphics/${PORTNAME} @@ -19,29 +18,17 @@ COMMENT= SVG Toolkit USE_ZIP= yes USE_JAVA= 1.5+ -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} USE_ANT= yes USE_JIKES= no ALL_TARGET= jars all-jar -DATADIR= ${JAVASHAREDIR}/${PORTNAME} -TARGET_DIR= ${WRKSRC}/${PORTNAME}-${PORTVERSION} - # Prevent out of memory error during build MAKE_ENV+= "ANT_OPTS=-Xmx512m" -.if !defined(NOPORTDOCS) -ALL_TARGET+= javadoc -.endif +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +INSTALL_WRKSRC= ${WRKSRC}/${PORTNAME}-${PORTVERSION} +DATADIR= ${JAVASHAREDIR}/${PORTNAME} do-install: - cd ${TARGET_DIR} \ - && ${FIND} . -type d -exec ${MKDIR} ${DATADIR}/{} \; \ - && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${DATADIR}/{} \; - -post-install: - @${FIND} -s ${TARGET_DIR} -type f | \ - ${SED} -e 's,^${TARGET_DIR},${DATADIR:S,${PREFIX}/,,},' >> ${TMPPLIST} - @${FIND} -s -d ${TARGET_DIR} -type d | \ - ${SED} -e 's,^${TARGET_DIR},@dirrm ${DATADIR:S,${PREFIX}/,,},' >> ${TMPPLIST} + cd ${INSTALL_WRKSRC} && ${COPYTREE_SHARE} . ${DATADIR} .include <bsd.port.mk> |