diff options
author | mat <mat@FreeBSD.org> | 2015-09-01 00:43:14 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2015-09-01 00:43:14 +0800 |
commit | b106a8a3f76ea2f627120ec5ec7dae19c8218382 (patch) | |
tree | bf17a0b52ebd9df1f8ee9c7e865c9b2f2cedc548 /dns/bind910 | |
parent | 0654bc4c3695f06f53204d25a531877a7d7084f3 (diff) | |
download | freebsd-ports-gnome-b106a8a3f76ea2f627120ec5ec7dae19c8218382.tar.gz freebsd-ports-gnome-b106a8a3f76ea2f627120ec5ec7dae19c8218382.tar.zst freebsd-ports-gnome-b106a8a3f76ea2f627120ec5ec7dae19c8218382.zip |
Add an option for embedding PORTREVISION in the server's version string.
Sponsored by: Absolight
Diffstat (limited to 'dns/bind910')
-rw-r--r-- | dns/bind910/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/dns/bind910/Makefile b/dns/bind910/Makefile index cf13e711c1b0..b73bc82230d6 100644 --- a/dns/bind910/Makefile +++ b/dns/bind910/Makefile @@ -8,7 +8,7 @@ PORTVERSION= ${ISCVERSION:S/-P/P/} PORTREVISION= 0 .else # dns/bind910 here -PORTREVISION= 2 +PORTREVISION= 3 .endif CATEGORIES= dns net ipv6 MASTER_SITES= ISC/bind9/${ISCVERSION} @@ -59,7 +59,7 @@ OPTIONS_RADIO_GOSTDEF= GOST GOST_ASN1 .if !defined(BIND_TOOLS_SLAVE) OPTIONS_DEFAULT+= RRL OPTIONS_DEFINE+= LINKS RPZ_NSIP RPZ_NSDNAME RRL DOCS NEWSTATS GEOIP \ - MINCACHE + MINCACHE PORTREVISION OPTIONS_GROUP= DLZ OPTIONS_GROUP_DLZ= DLZ_POSTGRESQL DLZ_MYSQL DLZ_BDB \ DLZ_LDAP DLZ_FILESYSTEM DLZ_STUB @@ -83,6 +83,7 @@ GOST_ASN1_DESC= GOST using ASN.1 PYTHON_DESC= Build with Python utilities START_LATE_DESC= Start BIND late in the boot process MINCACHE_DESC= Use the mincachettl patch +PORTREVISION_DESC= Show PORTREVISION in the version string LINKS_DESC= Create conf file symlinks in ${PREFIX} NEWSTATS_DESC= Enable alternate xml statistics channel format @@ -226,6 +227,10 @@ post-patch: ${WRKSRC}/bin/${FILE} .endfor +post-patch-PORTREVISION-on: + @${REINPLACE_CMD} -e '/EXTENSIONS/s#=$$#=_${PORTREVISION}#' \ + ${WRKSRC}/version + post-install: .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR}/arm |