Index: head/graphics/pstoepsi/Makefile =================================================================== --- head/graphics/pstoepsi/Makefile (revision 408325) +++ head/graphics/pstoepsi/Makefile (revision 408326) @@ -1,35 +1,40 @@ # Created by: Mita Yoshio # $FreeBSD$ PORTNAME= pstoepsi PORTVERSION= 20020711 PORTREVISION= 5 CATEGORIES= graphics MASTER_SITES= ftp://bourbon.usc.edu/pub/tgif/tools/pstoepsi/ DISTFILES= pstoepsi README.this-site DIST_SUBDIR= pstoepsi EXTRACT_ONLY= #empty MAINTAINER= ports@FreeBSD.org COMMENT= Wiliam Chia-Wei Cheng's yet another PS to EPSI converter RUN_DEPENDS= pbmtoepsi:${PORTSDIR}/graphics/netpbm USES= ghostscript:run NO_WRKSUBDIR= yes +NO_ARCH= yes +OPTIONS_DEFINE= DOCS + pre-patch: - ${CP} ${DISTDIR}/${DIST_SUBDIR}/pstoepsi ${WRKSRC}/pstoepsi.prefix - ${CP} ${DISTDIR}/${DIST_SUBDIR}/README.this-site ${WRKSRC} + @${CP} ${DISTDIR}/${DIST_SUBDIR}/pstoepsi ${WRKSRC}/pstoepsi.prefix + @${CP} ${DISTDIR}/${DIST_SUBDIR}/README.this-site ${WRKSRC} do-build: ${SED} -e "s+%%PREFIX%%+${PREFIX}+g" ${WRKSRC}/pstoepsi.prefix > \ ${WRKSRC}/pstoepsi ${GZIP_CMD} ${WRKSRC}/README.this-site do-install: ${INSTALL_SCRIPT} ${WRKSRC}/pstoepsi ${STAGEDIR}${PREFIX}/bin + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.this-site.gz ${STAGEDIR}${DOCSDIR} .include Index: head/graphics/pstoepsi/pkg-plist =================================================================== --- head/graphics/pstoepsi/pkg-plist (revision 408325) +++ head/graphics/pstoepsi/pkg-plist (revision 408326) @@ -1,2 +1,2 @@ bin/pstoepsi -share/doc/pstoepsi/README.this-site.gz +%%PORTDOCS%%%%DOCSDIR%%/README.this-site.gz