mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
- Switch to options helpers
- Regenerate patches with `make makepatch` - Simplify plist
This commit is contained in:
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
|
@ -10,21 +10,20 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}.src
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
COMMENT= Program to estimate population sizes and migration rates
|
COMMENT= Program to estimate population sizes and migration rates
|
||||||
|
|
||||||
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
|
||||||
|
EXTRACT_AFTER_ARGS=--exclude zlib
|
||||||
|
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
CONFIGURE_ENV= ac_cv_prog_GMAKE="${MAKE}"
|
CONFIGURE_ENV= ac_cv_prog_GMAKE="${MAKE}"
|
||||||
MAKE_ARGS= PRETTYCFLAGS="${CFLAGS} -DNOJPEG -DNOZLIB -DNOPNG -Iharu \
|
MAKE_ARGS= PRETTYCFLAGS="${CFLAGS} -DNOJPEG -DNOZLIB -DNOPNG -Iharu \
|
||||||
-DPRETTY -lstdc++"
|
-DPRETTY -lstdc++"
|
||||||
|
|
||||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
|
|
||||||
|
|
||||||
PLIST_SUB+= PORTNAME=${PORTNAME}
|
|
||||||
PORTDOCS= HISTORY README README_PARALLEL_GENERAL ${PORTNAME}.html
|
PORTDOCS= HISTORY README README_PARALLEL_GENERAL ${PORTNAME}.html
|
||||||
PORTEXAMPLES= *
|
PORTEXAMPLES= *
|
||||||
EXTRACT_AFTER_ARGS=--exclude zlib
|
|
||||||
|
|
||||||
OPTIONS_DEFINE= DOCS EXAMPLES THREAD
|
OPTIONS_DEFINE= DOCS EXAMPLES THREAD
|
||||||
THREAD_DESC= Build with THREAD support
|
THREAD_DESC= Build with THREAD support
|
||||||
THREAD_ALL_TARGET= thread
|
THREAD_ALL_TARGET= thread
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e 's|="-O "|="$$CFLAGS"|g' ${WRKSRC}/configure
|
@${REINPLACE_CMD} -e 's|="-O "|="$$CFLAGS"|g' ${WRKSRC}/configure
|
||||||
|
@ -39,11 +38,13 @@ do-install:
|
||||||
${LN} -sf ${PORTNAME}.1 \
|
${LN} -sf ${PORTNAME}.1 \
|
||||||
${STAGEDIR}${MAN1PREFIX}/man/man1/${PORTNAME}-n.1
|
${STAGEDIR}${MAN1PREFIX}/man/man1/${PORTNAME}-n.1
|
||||||
|
|
||||||
|
do-install-DOCS-on:
|
||||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/../,} ${STAGEDIR}${DOCSDIR}
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/../,} ${STAGEDIR}${DOCSDIR}
|
||||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}/graphics
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}/graphics
|
||||||
${INSTALL_DATA} ${WRKSRC}/../graphics/* ${STAGEDIR}${DOCSDIR}/graphics
|
${INSTALL_DATA} ${WRKSRC}/../graphics/* ${STAGEDIR}${DOCSDIR}/graphics
|
||||||
|
|
||||||
|
do-install-EXAMPLES-on:
|
||||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||||
${INSTALL_DATA} ${WRKSRC}/../example/[A-Za-z]* \
|
${INSTALL_DATA} ${WRKSRC}/../example/[A-Za-z]* \
|
||||||
${STAGEDIR}${EXAMPLESDIR}
|
${STAGEDIR}${EXAMPLESDIR}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- Makefile.in.orig 2013-05-25 14:59:22.000000000 +0000
|
--- Makefile.in.orig 2015-06-24 02:57:05 UTC
|
||||||
+++ Makefile.in 2013-05-25 14:59:37.000000000 +0000
|
+++ Makefile.in
|
||||||
@@ -89,7 +89,7 @@
|
@@ -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]
|
# -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]
|
# -UEP calculates unique event polymorphism [not checked in a long time -- most likely does not work]
|
||||||
NEWSTUFF = -DNEXUSTREE
|
NEWSTUFF = -DNEXUSTREE
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
#
|
#
|
||||||
# combine the common flags with the version number and subversion number
|
# combine the common flags with the version number and subversion number
|
||||||
COMMONVFLAGS = $(COMMONFLAGS) -DMIGRATESUBVERSION=\"\\\"$(MIGRATESUBVERSION)\\\"\"
|
COMMONVFLAGS = $(COMMONFLAGS) -DMIGRATESUBVERSION=\"\\\"$(MIGRATESUBVERSION)\\\"\"
|
||||||
@@ -544,4 +544,4 @@
|
@@ -544,4 +544,4 @@ parallel_short_test::
|
||||||
#----------------------------------------------------------------
|
#----------------------------------------------------------------
|
||||||
# BEAGLE
|
# BEAGLE
|
||||||
beagle:
|
beagle:
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
bin/%%PORTNAME%%
|
bin/migrate
|
||||||
bin/%%PORTNAME%%-n
|
bin/migrate-n
|
||||||
man/man1/%%PORTNAME%%-n.1.gz
|
man/man1/migrate-n.1.gz
|
||||||
man/man1/%%PORTNAME%%.1.gz
|
man/man1/migrate.1.gz
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/graphics/librarian.gif
|
%%PORTDOCS%%%%DOCSDIR%%/graphics/librarian.gif
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/graphics/mail.gif
|
%%PORTDOCS%%%%DOCSDIR%%/graphics/mail.gif
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/graphics/%%PORTNAME%%.gif
|
%%PORTDOCS%%%%DOCSDIR%%/graphics/migrate.gif
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/graphics/packet.gif
|
%%PORTDOCS%%%%DOCSDIR%%/graphics/packet.gif
|
||||||
|
|
Loading…
Add table
Reference in a new issue