1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/textproc/resume/Makefile
Mathieu Arnold 88bfe4bd43 Cleanup DIST* variables.
When appropriate:
- Try to use DISTVERSION{SUF,PRE}FIX
- Replace PORTNAME-PORTVERSION by DISTNAME
- Convert MASTER_SITES to use macros
- Other light cleanup

With hat:	portmgr
Sponsored by:	Absolight
2015-05-11 18:34:57 +00:00

42 lines
1.1 KiB
Makefile

# Created by: Kimura Fuyuki <fuyuki@mj.0038.net>
# $FreeBSD$
PORTNAME= resume
DISTVERSION= 1_5_1
PORTREVISION= 2
CATEGORIES= textproc
MASTER_SITES= SF/xml${PORTNAME}/xml${PORTNAME}/${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= XML Resume library
USE_JAVA= yes
NO_BUILD= yes
PKGMESSAGE= ${WRKDIR}/pkg-message
PORTDOCS= *
OPTIONS_DEFINE= DOCS EXAMPLES
post-patch:
${REINPLACE_CMD} -e 's|\.\./\.\./css|css|' ${WRKSRC}/xsl/params.xsl
${FIND} ${WRKSRC} -name '*.bak' -delete
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/share/xml/${PORTNAME}
${CP} -R ${WRKSRC}/dtd/* ${STAGEDIR}${PREFIX}/share/xml/${PORTNAME}
${MKDIR} ${STAGEDIR}${PREFIX}/share/xsl/${PORTNAME}
${CP} -R ${WRKSRC}/xsl/* ${STAGEDIR}${PREFIX}/share/xsl/${PORTNAME}
${CP} -R ${WRKSRC}/css ${STAGEDIR}${PREFIX}/share/xsl/${PORTNAME}/format
${INSTALL_DATA} ${WRKSRC}/java/*.jar ${STAGEDIR}${JAVAJARDIR}
post-install:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${CP} -R ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
${MKDIR} ${STAGEDIR}${DOCSDIR}
${CP} -R ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}
${SED} -e "s|%%PREFIX%%|${PREFIX}|g" pkg-message >${PKGMESSAGE}
.include <bsd.port.mk>