freebsd-ports/mail/roundcube-veximaccountadmin/Makefile
Steve Wills 95c01a3e47 - Utilize ${INSTALL_DATA} instead of ${PAX} to ensure file/directory
permissions are sane

PR:		ports/173398
Feature safe:	yes
Submitted by:	Mark Felder <feld@feld.me> (maintainer)
2012-11-24 02:23:00 +00:00

38 lines
1,003 B
Makefile

# Created by: Mark Felder <feld@feld.me>
# $FreeBSD$
PORTNAME= veximaccountadmin
PORTVERSION= 0.1
PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://axel.sjostedt.no/misc/files/
PKGNAMEPREFIX= roundcube-
DISTNAME= rcube_plg_veximaccountadmin
MAINTAINER= feld@feld.me
COMMENT= Roundcube vexim account admin plugin
LICENSE= GPLv3
RUN_DEPENDS= roundcube>=0.5:${PORTSDIR}/mail/roundcube
NO_BUILD= yes
WWWDIR= ${PREFIX}/www/roundcube/plugins/veximaccountadmin
WRKSRC= ${WRKDIR}/veximaccountadmin
# This target is only meant to be used by the port maintainer.
x-generate-plist: build
cd ${WRKSRC}; \
${FIND} . ! -type d ! -name '*.orig' | ${SORT} | \
${SED} -e "s,^\.,%%WWWDIR%%," >${.CURDIR}/pkg-plist.tmp ; \
${FIND} . -type d | ${SORT} -r | ${SED} \
-e "s,^\.$$,@dirrmtry %%WWWDIR%%," \
-e "s,^\.,@dirrm %%WWWDIR%%," >>${.CURDIR}/pkg-plist.tmp
do-install:
@${ECHO} "Installing in ${WWWDIR}"
${MKDIR} ${WWWDIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${WWWDIR}
.include <bsd.port.mk>