diff options
author | danfe <danfe@FreeBSD.org> | 2014-01-29 20:08:29 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2014-01-29 20:08:29 +0800 |
commit | 0db2d21047f7c2fc170a2e2b0ec6d4255352cc46 (patch) | |
tree | d576e0d2877c8c31df6f6a4cb71b82dc7f875f3d | |
parent | 0b197a753bbfbc60f16727e6e4bfc7235a16ef57 (diff) | |
download | freebsd-ports-gnome-0db2d21047f7c2fc170a2e2b0ec6d4255352cc46.tar.gz freebsd-ports-gnome-0db2d21047f7c2fc170a2e2b0ec6d4255352cc46.tar.zst freebsd-ports-gnome-0db2d21047f7c2fc170a2e2b0ec6d4255352cc46.zip |
- Stagify; cleanup Makefile and reorder the knobs a bit
- Drop the case for long unsupported alpha architecture
-rw-r--r-- | biology/migrate/Makefile | 49 |
1 files changed, 21 insertions, 28 deletions
diff --git a/biology/migrate/Makefile b/biology/migrate/Makefile index 098efac0bb95..0ef0833d4850 100644 --- a/biology/migrate/Makefile +++ b/biology/migrate/Makefile @@ -10,24 +10,19 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}.src MAINTAINER= wen@FreeBSD.org COMMENT= Program to estimate population sizes and migration rates -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src - GNU_CONFIGURE= yes CONFIGURE_ENV= ac_cv_prog_GMAKE="${MAKE}" -MAKE_ARGS= PRETTYCFLAGS="${CFLAGS} -DNOJPEG -DNOZLIB -DNOPNG -Iharu -DPRETTY -lstdc++" - -MAN1= ${PORTNAME}.1 -MLINKS= ${PORTNAME}.1 ${PORTNAME}-n.1 -PORTDOCS= * -PORTEXAMPLES= * -PLIST_FILES= bin/${PORTNAME} bin/${PORTNAME}-n +MAKE_ARGS= PRETTYCFLAGS="${CFLAGS} -DNOJPEG -DNOZLIB -DNOPNG -Iharu \ + -DPRETTY -lstdc++" -NO_STAGE= yes -.include <bsd.port.options.mk> +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src -NOT_FOR_ARCHS= alpha -ONLY_FOR_ARCHS_REASON= Does not compile +PLIST_FILES= bin/${PORTNAME} bin/${PORTNAME}-n \ + man/man1/${PORTNAME}.1.gz man/man1/${PORTNAME}-n.1.gz +PORTDOCS= HISTORY README README_PARALLEL_GENERAL ${PORTNAME}.html +PORTEXAMPLES= * +# XXX should be converted to OptionsNG .if defined(WITH_THREAD_PRETTY) ALL_TARGET= thread-pretty .elif defined(WITH_PRETTY) @@ -45,20 +40,18 @@ post-patch: @${REINPLACE_CMD} -e 's|-O3||g' ${WRKSRC}/haru/makefile.gcc do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}-n ${PREFIX}/bin - ${LN} -sf ${PORTNAME}-n ${PREFIX}/bin/${PORTNAME} - ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MAN1PREFIX}/man/man1 -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} -.for i in HISTORY README README_PARALLEL_GENERAL ${PORTNAME}.html - ${INSTALL_DATA} ${WRKSRC}/../${i} ${DOCSDIR} -.endfor - @${MKDIR} ${DOCSDIR}/graphics - ${INSTALL_DATA} ${WRKSRC}/../graphics/* ${DOCSDIR}/graphics -.endif -.if ${PORT_OPTIONS:MEXAMPLES} - @${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/../example/[A-Za-z]* ${EXAMPLESDIR} -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}-n ${STAGEDIR}${PREFIX}/bin + ${LN} -sf ${PORTNAME}-n ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 \ + ${STAGEDIR}${MAN1PREFIX}/man/man1 + ${LN} -sf ${PORTNAME}.1 \ + ${STAGEDIR}${MAN1PREFIX}/man/man1/${PORTNAME}-n.1 + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/../,} ${STAGEDIR}${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR}/graphics + ${INSTALL_DATA} ${WRKSRC}/../graphics/* ${STAGEDIR}${DOCSDIR}/graphics + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/../example/[A-Za-z]* \ + ${STAGEDIR}${EXAMPLESDIR} .include <bsd.port.mk> |