- Switch to options helpers

- Regenerate patches with `make makepatch`
- Simplify plist
This commit is contained in:
Dmitry Marakasov 2016-04-17 10:15:59 +00:00
parent f42f531d50
commit 8a02089cd4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=413499
3 changed files with 17 additions and 16 deletions

View file

@ -10,17 +10,16 @@ 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
@ -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}

View file

@ -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:

View file

@ -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