freebsd-ports/mail/roundcube-umich/Makefile
Vanilla I. Shu dcf609ad81 Stagify.
2014-09-01 09:04:42 +00:00

35 lines
926 B
Makefile

# Created by: Alexey V. Degtyarev
# $FreeBSD$
PORTNAME= umich
PORTVERSION= 20090813
CATEGORIES= mail
MASTER_SITES= ftp://renatasystems.org/pub/FreeBSD/ports/distfiles/
PKGNAMEPREFIX= roundcube-
MAINTAINER= ports@FreeBSD.org
COMMENT= Theme for RoundCube Web Mail
RUN_DEPENDS= roundcube>=0.2:${PORTSDIR}/mail/roundcube
NO_BUILD= yes
WWWDIR?= ${PREFIX}/www/roundcube/skins/umich
# 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
post-patch:
${FIND} ${WRKSRC} -type f -name '*.orig' -delete
do-install:
@${MKDIR} ${STAGEDIR}${WWWDIR}
cd ${WRKSRC} && ${PAX} -r -w . ${STAGEDIR}${WWWDIR}
.include <bsd.port.mk>