blob: c95d1a3676648ae390d17ca5e154b5455f4cc685 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# New ports collection makefile for: gallery
# Date created: 09 Sep 2001
# Whom: Jamie Hermans <jamie@hermans.ca>
#
# $FreeBSD$
#
PORTNAME= gallery
PORTVERSION= 1.2
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= jamie@hermans.ca
RUN_DEPENDS= ${LOCALBASE}/share/netpbm:${PORTSDIR}/graphics/netpbm
WRKSRC= ${WRKDIR}/${PORTNAME}
NO_BUILD= yes
post-extract:
cd ${WRKDIR}; \
${FETCH_CMD} http://www.sentex.net/~mwandel/jhead/jhead
do-install:
${MKDIR} -v ${PREFIX}/www/data
cd ${WRKDIR}; \
${INSTALL_PROGRAM} jhead ${PREFIX}/bin
cd ${WRKDIR}; \
${CP} -R gallery ${PREFIX}/www/data
post-install:
@${ECHO} ""
@${ECHO} "*****************************************************************"
@${ECHO} ""
@${ECHO} " Please consider adding the following 3 lines to your httpd.conf"
@${ECHO} ""
@${ECHO} " <Directory /usr/local/www/data/gallery>"
@${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>
|