1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/textproc/resume/Makefile
Greg Lewis 71a10c25b6 . Define USE_JAVA.
. Remove definition of JAVAJARDIR, its defined in bsd.java.mk.
. Use PORTDOCS to simplify the packing list.
. Respect NOPORTDOCS for examples.
. Use %%JAVAJARDIR%% in the packling now that bsd.java.mk sets it.
2004-07-12 23:02:26 +00:00

51 lines
1.3 KiB
Makefile

# New ports collection makefile for: resume
# Date created: 17 January 2002
# Whom: Kimura Fuyuki <fuyuki@mj.0038.net>
#
# $FreeBSD$
#
PORTNAME= resume
PORTVERSION= 1.5.1
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= xmlresume
DISTNAME= ${PORTNAME}-${PORTVERSION:S/./_/g}
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= XML Resume library
USE_JAVA= yes
USE_REINPLACE= yes
NO_BUILD= yes
PKGMESSAGE= ${WRKDIR}/pkg-message
.if !defined(NOPORTDOCS)
PORTDOCS= *
.endif
post-patch:
${REINPLACE_CMD} -e 's|\.\./\.\./css|css|' ${WRKSRC}/xsl/params.xsl
${FIND} ${WRKSRC} -name '*.bak' -delete
do-install:
${MKDIR} ${PREFIX}/share/xml/${PORTNAME}
${CP} -R ${WRKSRC}/dtd/* ${PREFIX}/share/xml/${PORTNAME}
${MKDIR} ${PREFIX}/share/xsl/${PORTNAME}
${CP} -R ${WRKSRC}/xsl/* ${PREFIX}/share/xsl/${PORTNAME}
${CP} -R ${WRKSRC}/css ${PREFIX}/share/xsl/${PORTNAME}/format
${INSTALL_DATA} ${WRKSRC}/java/*.jar ${JAVAJARDIR}
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${EXAMPLESDIR}
${CP} -R ${WRKSRC}/examples/* ${EXAMPLESDIR}
${MKDIR} ${DOCSDIR}
${CP} -R ${WRKSRC}/doc/* ${DOCSDIR}
.endif
${SED} -e "s|%%PREFIX%%|${PREFIX}|g" pkg-message >${PKGMESSAGE}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>