freebsd-ports/mail/squirrelmail-translations/Makefile
Adam Weinberger 606cb2b1d9 Update to the 20160216 snapshots, and mark squirrelmail-translations as NO_ARCH.
Biggest changes here are STARTTLS support.
2016-02-16 18:21:01 +00:00

35 lines
1,014 B
Makefile

# Created by: Adam Weinberger <adamw@FreeBSD.org>
# $FreeBSD$
PORTNAME= squirrelmail-translations
PORTVERSION= 20160216
CATEGORIES= mail www
MASTER_SITES= LOCAL/adamw/squirrelmail
DISTNAME= squirrelmail-${PORTVERSION}_0200-SVN.locales
DIST_SUBDIR= squirrelmail
MAINTAINER= adamw@FreeBSD.org
COMMENT= NLS translations for Squirrelmail (mail/squirrelmail)
LICENSE= GPLv2
RUN_DEPENDS= squirrelmail>=${PORTVERSION}:${PORTSDIR}/mail/squirrelmail
USES= tar:bzip2 gettext
WRKSRC= ${WRKDIR}/squirrelmail.locales
NO_ARCH= yes
# if you were using WITHOUT_WWWDIR, use SQUIRRELDIR=${PREFIX}/squirrelmail
SQUIRRELDIR?= ${PREFIX}/www/squirrelmail
PLIST_SUB= SQUIRRELDIR="${SQUIRRELDIR:S,^${PREFIX}/,,}"
do-build:
# The en_US help files are included with the main tarball
@${RM} -r ${WRKSRC}/help/en_US
do-install:
@${MKDIR} ${STAGEDIR}${SQUIRRELDIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} "help images locale" ${STAGEDIR}${SQUIRRELDIR})
${FIND} ${STAGEDIR}${SQUIRRELDIR} -type d -empty -delete
.include <bsd.port.mk>