94d1ab6ca9
- Remove maintainership (unless somebody picks it up, I'll keep doing the updates but I would be happy to get rid of it since I'm not using it anymore) - Make the pkg-message proper
49 lines
1.2 KiB
Makefile
49 lines
1.2 KiB
Makefile
#
|
|
# New ports collection makefile for: plans
|
|
# Date created: 2004-12-17
|
|
# Whom: Edwin Groothuis <edwin@mavetju.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= plans
|
|
PORTVERSION= 7.4.7
|
|
CATEGORIES= deskutils www
|
|
MASTER_SITES= http://www.planscalendar.com/release/:plans \
|
|
http://www.freebsd.org/gifs/:logo
|
|
DISTFILES= ${PORTNAME}_${PORTVERSION}${EXTRACT_SUFX}:plans \
|
|
powerani.gif:logo
|
|
EXTRACT_ONLY= ${PORTNAME}_${PORTVERSION}${EXTRACT_SUFX}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A Good Web Calendar
|
|
|
|
USE_ZIP= yes
|
|
NO_BUILD= yes
|
|
USE_PERL5_RUN= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION}
|
|
|
|
DIR= www/data/plans
|
|
PLIST_SUB+= DIR=${DIR}
|
|
SUB_FILES= pkg-message
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
|
|
post-extract:
|
|
${CP} ${DISTDIR}/powerani.gif ${WRKSRC}/theme/graphics/freebsd.gif
|
|
|
|
post-patch:
|
|
${FIND} ${WRKSRC} -name '*.orig' -delete
|
|
|
|
do-install:
|
|
@${MKDIR} ${PREFIX}/${DIR}
|
|
@${CP} -R ${WRKSRC}/* ${PREFIX}/${DIR}
|
|
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${DIR}
|
|
@${FIND} ${PREFIX}/${DIR} -type f -exec ${CHMOD} 644 {} \;
|
|
@${FIND} ${PREFIX}/${DIR} -name '*.cgi' -exec ${CHMOD} 755 {} \;
|
|
@${FIND} ${PREFIX}/${DIR} -name '*.xml' -exec ${CHMOD} 664 {} \;
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|