diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-04-17 10:15:59 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-04-17 10:15:59 +0000 |
commit | 8a02089cd4148f1f553923fb6eb057fc9587b718 (patch) | |
tree | b0ffa17cbee946295deca1930002f97f2fd03608 /biology | |
parent | misc/dejagnu: update to 1.6 (diff) |
- Switch to options helpers
- Regenerate patches with `make makepatch`
- Simplify plist
Notes
Notes:
svn path=/head/; revision=413499
Diffstat (limited to 'biology')
-rw-r--r-- | biology/migrate/Makefile | 15 | ||||
-rw-r--r-- | biology/migrate/files/patch-Makefile.in | 8 | ||||
-rw-r--r-- | biology/migrate/pkg-plist | 10 |
3 files changed, 17 insertions, 16 deletions
diff --git a/biology/migrate/Makefile b/biology/migrate/Makefile index c83736665666..f732d9a17403 100644 --- a/biology/migrate/Makefile +++ b/biology/migrate/Makefile @@ -10,21 +10,20 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}.src MAINTAINER= ports@FreeBSD.org COMMENT= Program to estimate population sizes and migration rates +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src +EXTRACT_AFTER_ARGS=--exclude zlib + GNU_CONFIGURE= yes CONFIGURE_ENV= ac_cv_prog_GMAKE="${MAKE}" MAKE_ARGS= PRETTYCFLAGS="${CFLAGS} -DNOJPEG -DNOZLIB -DNOPNG -Iharu \ -DPRETTY -lstdc++" -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src - -PLIST_SUB+= PORTNAME=${PORTNAME} PORTDOCS= HISTORY README README_PARALLEL_GENERAL ${PORTNAME}.html PORTEXAMPLES= * -EXTRACT_AFTER_ARGS=--exclude zlib -OPTIONS_DEFINE= DOCS EXAMPLES THREAD -THREAD_DESC= Build with THREAD support -THREAD_ALL_TARGET= thread +OPTIONS_DEFINE= DOCS EXAMPLES THREAD +THREAD_DESC= Build with THREAD support +THREAD_ALL_TARGET= thread post-patch: @${REINPLACE_CMD} -e 's|="-O "|="$$CFLAGS"|g' ${WRKSRC}/configure @@ -39,11 +38,13 @@ do-install: ${LN} -sf ${PORTNAME}.1 \ ${STAGEDIR}${MAN1PREFIX}/man/man1/${PORTNAME}-n.1 +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/../,} ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR}/graphics ${INSTALL_DATA} ${WRKSRC}/../graphics/* ${STAGEDIR}${DOCSDIR}/graphics +do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/../example/[A-Za-z]* \ ${STAGEDIR}${EXAMPLESDIR} diff --git a/biology/migrate/files/patch-Makefile.in b/biology/migrate/files/patch-Makefile.in index 6a65ce4d3ff6..814875b4b1a8 100644 --- a/biology/migrate/files/patch-Makefile.in +++ b/biology/migrate/files/patch-Makefile.in @@ -1,6 +1,6 @@ ---- Makefile.in.orig 2013-05-25 14:59:22.000000000 +0000 -+++ Makefile.in 2013-05-25 14:59:37.000000000 +0000 -@@ -89,7 +89,7 @@ +--- Makefile.in.orig 2015-06-24 02:57:05 UTC ++++ Makefile.in +@@ -89,7 +89,7 @@ PAPERFORMAT = @PAPERFORMAT@ # -DINTEGRATEDLIKE may be used to get a marginal likelihood different to the current thermodynamic integr and harmonic mean [does not work] # -UEP calculates unique event polymorphism [not checked in a long time -- most likely does not work] NEWSTUFF = -DNEXUSTREE @@ -9,7 +9,7 @@ # # combine the common flags with the version number and subversion number COMMONVFLAGS = $(COMMONFLAGS) -DMIGRATESUBVERSION=\"\\\"$(MIGRATESUBVERSION)\\\"\" -@@ -544,4 +544,4 @@ +@@ -544,4 +544,4 @@ parallel_short_test:: #---------------------------------------------------------------- # BEAGLE beagle: diff --git a/biology/migrate/pkg-plist b/biology/migrate/pkg-plist index e5dbc79b7174..a8b1e971bab9 100644 --- a/biology/migrate/pkg-plist +++ b/biology/migrate/pkg-plist @@ -1,8 +1,8 @@ -bin/%%PORTNAME%% -bin/%%PORTNAME%%-n -man/man1/%%PORTNAME%%-n.1.gz -man/man1/%%PORTNAME%%.1.gz +bin/migrate +bin/migrate-n +man/man1/migrate-n.1.gz +man/man1/migrate.1.gz %%PORTDOCS%%%%DOCSDIR%%/graphics/librarian.gif %%PORTDOCS%%%%DOCSDIR%%/graphics/mail.gif -%%PORTDOCS%%%%DOCSDIR%%/graphics/%%PORTNAME%%.gif +%%PORTDOCS%%%%DOCSDIR%%/graphics/migrate.gif %%PORTDOCS%%%%DOCSDIR%%/graphics/packet.gif |