2001-10-15 11:53:18 +00:00
|
|
|
# New ports collection makefile for: gallery
|
|
|
|
# Date created: 09 Sep 2001
|
|
|
|
# Whom: Jamie Hermans <jamie@hermans.ca>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gallery
|
2001-12-21 06:15:15 +00:00
|
|
|
PORTVERSION= 1.2.5
|
2001-10-15 11:53:18 +00:00
|
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
|
|
|
MAINTAINER= jamie@hermans.ca
|
|
|
|
|
2001-12-21 14:17:01 +00:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/share/netpbm:${PORTSDIR}/graphics/netpbm \
|
|
|
|
${LOCALBASE}/bin/jhead:${PORTSDIR}/graphics/jhead
|
2001-10-15 11:53:18 +00:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
do-install:
|
2001-12-21 06:15:15 +00:00
|
|
|
${MKDIR} -v ${LOCALBASE}/www/data
|
2001-10-15 11:53:18 +00:00
|
|
|
cd ${WRKDIR}; \
|
2001-12-21 06:15:15 +00:00
|
|
|
${CP} -R gallery ${LOCALBASE}/www/data
|
2001-10-15 11:53:18 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${ECHO} ""
|
|
|
|
@${ECHO} "*****************************************************************"
|
|
|
|
@${ECHO} ""
|
|
|
|
@${ECHO} " Please consider adding the following 3 lines to your httpd.conf"
|
|
|
|
@${ECHO} ""
|
2001-12-21 14:17:01 +00:00
|
|
|
@${ECHO} " <Directory ${LOCALBASE}/www/data/gallery>"
|
2001-10-15 11:53:18 +00:00
|
|
|
@${ECHO} " AllowOverride Options FileInfo"
|
|
|
|
@${ECHO} " </Directory>"
|
|
|
|
@${ECHO} ""
|
|
|
|
@${ECHO} " Then restart apache: 'apachectl restart'"
|
|
|
|
@${ECHO} ""
|
|
|
|
@${ECHO} "*****************************************************************"
|
|
|
|
@${ECHO} ""
|
|
|
|
@${ECHO} " Please visit 'http://{host.domain}/gallery/' in a"
|
|
|
|
@${ECHO} " web-browser and follow the configuration instructions."
|
|
|
|
@${ECHO} ""
|
|
|
|
@${ECHO} "*****************************************************************"
|
|
|
|
@${ECHO} ""
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|