summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/popfile/Makefile1
-rw-r--r--mail/popfile/pkg-plist2
2 files changed, 2 insertions, 1 deletions
diff --git a/mail/popfile/Makefile b/mail/popfile/Makefile
index bc0771e..2ddca2c 100644
--- a/mail/popfile/Makefile
+++ b/mail/popfile/Makefile
@@ -27,6 +27,7 @@ RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBD/SQLite.pm:${PORTSDIR}/databases/p5-DB
NO_BUILD= yes
NO_WRKSUBDIR= yes
USE_REINPLACE= yes
+PLIST_SUB+= PORTVERSION=${PORTVERSION}
USE_ZIP= yes
USE_PERL5_RUN= yes
diff --git a/mail/popfile/pkg-plist b/mail/popfile/pkg-plist
index af54797..c9bfa8d 100644
--- a/mail/popfile/pkg-plist
+++ b/mail/popfile/pkg-plist
@@ -141,7 +141,7 @@ sbin/popfile.sh
%%DATADIR%%/skins/white.css
%%DATADIR%%/skins/windows.css
%%DATADIR%%/stopwords
-%%DATADIR%%/v0.21.1.change
+%%DATADIR%%/v%%PORTVERSION%%.change
@dirrm %%DATADIR%%/Classifier
@dirrm %%DATADIR%%/POPFile
@dirrm %%DATADIR%%/Proxy
OpenPOWER on IntegriCloud