freebsd-ports/mail/squirrelmail-translations/Makefile

38 lines
1.1 KiB
Makefile
Raw Normal View History

# Created by: Adam Weinberger <adamw@FreeBSD.org>
2014-07-17 14:26:20 +02:00
PORTNAME= squirrelmail-translations
PORTVERSION= 20200422
2014-07-17 14:26:20 +02:00
CATEGORIES= mail www
MASTER_SITES= http://snapshots.squirrelmail.org/ \
http://freebsd.uzsolt.hu/src/
2018-05-03 14:42:57 +02:00
PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
2014-07-17 14:26:20 +02:00
DISTNAME= squirrelmail-${PORTVERSION}_0200-SVN.locales
DIST_SUBDIR= squirrelmail
MAINTAINER= uzsolt@uzsolt.hu
2014-07-17 14:26:20 +02:00
COMMENT= NLS translations for Squirrelmail (mail/squirrelmail)
2014-07-17 14:26:20 +02:00
LICENSE= GPLv2
2018-05-03 14:42:57 +02:00
RUN_DEPENDS= squirrelmail${PHP_PKGNAMESUFFIX}>=${PORTVERSION}:mail/squirrelmail@${PHP_FLAVOR}
2018-05-03 14:42:57 +02:00
USES= tar:bzip2 gettext php:flavors
2014-07-17 14:26:20 +02:00
WRKSRC= ${WRKDIR}/squirrelmail.locales
NO_ARCH= yes
PORTSCOUT= ignore:1
# if you were using WITHOUT_WWWDIR, use SQUIRRELDIR=${PREFIX}/squirrelmail
SQUIRRELDIR?= ${PREFIX}/www/squirrelmail
2014-07-17 14:26:20 +02:00
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>