Changeset View
Changeset View
Standalone View
Standalone View
head/biology/gff2ps/Makefile
Show All 29 Lines | |||||
DOCS_DISTFILES= ${GFF2PS_MAN}.gz:doc | DOCS_DISTFILES= ${GFF2PS_MAN}.gz:doc | ||||
.include <bsd.port.options.mk> | .include <bsd.port.options.mk> | ||||
do-extract: | do-extract: | ||||
@${MKDIR} ${WRKDIR} | @${MKDIR} ${WRKDIR} | ||||
@${GZCAT} ${DISTDIR}/${PORTNAME}_v${PORTVERSION}.gz \ | @${GZCAT} ${DISTDIR}/${PORTNAME}_v${PORTVERSION}.gz \ | ||||
> ${WRKDIR}/${PORTNAME} | > ${WRKDIR}/${PORTNAME} | ||||
.if ${PORT_OPTIONS:MDOCS} | do-extract-DOCS-on: | ||||
@${GZCAT} ${DISTDIR}/${GFF2PS_MAN}.gz > ${WRKDIR}/${GFF2PS_MAN} | @${GZCAT} ${DISTDIR}/${GFF2PS_MAN}.gz > ${WRKDIR}/${GFF2PS_MAN} | ||||
.endif | |||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} -e \ | @${REINPLACE_CMD} -e \ | ||||
's|^#!/bin/bash|#!${LOCALBASE}/bin/bash| ; \ | 's|^#!/bin/bash|#!${LOCALBASE}/bin/bash| ; \ | ||||
s|/usr/local/bin/gawk|${LOCALBASE}/bin/gawk|' ${WRKSRC}/gff2ps | s|/usr/local/bin/gawk|${LOCALBASE}/bin/gawk|' ${WRKSRC}/gff2ps | ||||
do-install: | do-install: | ||||
${INSTALL_SCRIPT} ${WRKDIR}/gff2ps ${STAGEDIR}${PREFIX}/bin | ${INSTALL_SCRIPT} ${WRKDIR}/gff2ps ${STAGEDIR}${PREFIX}/bin | ||||
.if ${PORT_OPTIONS:MDOCS} | do-install-DOCS-on: | ||||
@${MKDIR} ${STAGEDIR}${DOCSDIR} | @${MKDIR} ${STAGEDIR}${DOCSDIR} | ||||
${INSTALL_DATA} ${WRKDIR}/${GFF2PS_MAN} ${STAGEDIR}${DOCSDIR} | ${INSTALL_DATA} ${WRKDIR}/${GFF2PS_MAN} ${STAGEDIR}${DOCSDIR} | ||||
.endif | |||||
.include <bsd.port.mk> | .include <bsd.port.mk> |