aboutsummaryrefslogtreecommitdiffstats
path: root/www/gallery3/Makefile
blob: fb081595fbe4c34edcd2d8f884005d3647f50d40 (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
# New ports collection makefile for:   gallery
# Date created:                09 Sep 2001
# Whom:                        Jamie Hermans <jamie@hermans.ca>
#
# $FreeBSD$
#

PORTNAME=   gallery
PORTVERSION=    1.2.5
CATEGORIES= www
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= jamie@hermans.ca

RUN_DEPENDS=    ${LOCALBASE}/share/netpbm:${PORTSDIR}/graphics/netpbm \
        ${LOCALBASE}/bin/jhead:${PORTSDIR}/graphics/jhead

WRKSRC=     ${WRKDIR}/${PORTNAME}
NO_BUILD=   yes

do-install:
    ${MKDIR} -v ${LOCALBASE}/www/data
    cd ${WRKDIR}; \
        ${CP} -R gallery ${LOCALBASE}/www/data

post-install:
    @${ECHO} ""
    @${ECHO} "*****************************************************************"
    @${ECHO} ""
    @${ECHO} " Please consider adding the following 3 lines to your httpd.conf"
    @${ECHO} ""
    @${ECHO} "  <Directory ${LOCALBASE}/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>