diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2004-12-17 08:24:24 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2004-12-17 08:24:24 +0000 |
commit | 483a586f40fa85748b1d29886e88826ce8cc598b (patch) | |
tree | 97392e6794dd97dfe9ff1ad1fa68d556139b509a /mail/mailscanner-devel/Makefile | |
parent | 50d1cdb311a2bf7444785d92d291640861477663 (diff) | |
download | ports-483a586f40fa85748b1d29886e88826ce8cc598b.tar.gz ports-483a586f40fa85748b1d29886e88826ce8cc598b.zip |
Notes
Diffstat (limited to 'mail/mailscanner-devel/Makefile')
-rw-r--r-- | mail/mailscanner-devel/Makefile | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/mail/mailscanner-devel/Makefile b/mail/mailscanner-devel/Makefile index e55eee274441..55989721803b 100644 --- a/mail/mailscanner-devel/Makefile +++ b/mail/mailscanner-devel/Makefile @@ -6,7 +6,7 @@ # PORTNAME= MailScanner -PORTVERSION= 4.35.5 +PORTVERSION= 4.37.3 CATEGORIES= mail MASTER_SITES= http://www.sng.ecs.soton.ac.uk/mailscanner/files/4/tar/ PKGNAMESUFFIX= -devel @@ -71,7 +71,7 @@ USRLOCAL_FILES_LIB= \ rav-wrapper sophos-autoupdate post-extract: - cd ${WRKSRC} && ${TAR} xzf perl-tar/MailScanner-${PORTVERSION}-${PATCHLEVEL}.tar.gz > /dev/null && ${MV} MailScanner-${PORTVERSION}/* . + cd ${WRKSRC} && ${TAR} xvzf perl-tar/MailScanner-${PORTVERSION}-${PATCHLEVEL}.tar.gz > /dev/null && ${MV} MailScanner-${PORTVERSION}/* . do-build: ${PERL} -pi -e \ @@ -210,6 +210,18 @@ do-install: ${ECHO} "Changes in MailScanner.conf found. Please look at \ ${PREFIX}/etc/MailScanner/MailScanner.conf.new.${PORTVERSION}" ; \ fi + # Upgrading langauages.conf... Please wait... ATTENTION: English version only! + @${WRKSRC}/bin/upgrade_languages_conf \ + ${DATADIR}/reports/en/languages.conf \ + ${DATADIR}/reports/en/languages.conf.sample > \ + ${DATADIR}/reports/en/languages.conf.new.${PORTVERSION} \ + 2> /dev/null + @if diff -b -B -q ${DATADIR}/reports/en/languages.conf \ + ${DATADIR}/reports/en/languages.conf.new.${PORTVERSION} ; \ + then ${ECHO} "No changes in languages.conf found" ; \ + ${RM} ${DATADIR}/reports/en/languages.conf.new.${PORTVERSION} ; \ + else ${CP} ${DATADIR}/reports/en/languages.conf.new.${PORTVERSION} ${DATADIR}/reports/en/languages.conf ; \ + fi .endif @${SED} -e 's,%%PREFIX%%,${PREFIX},' pkg-message > ${PKGMESSAGE} @${CAT} ${PKGMESSAGE} |