head	1.6;
access;
symbols
	RELEASE_8_3_0:1.5
	RELEASE_9_0_0:1.5
	RELEASE_7_4_0:1.4
	RELEASE_8_2_0:1.4
	RELEASE_6_EOL:1.4
	RELEASE_8_1_0:1.4
	RELEASE_7_3_0:1.4
	RELEASE_8_0_0:1.4
	RELEASE_7_2_0:1.4
	RELEASE_7_1_0:1.4
	RELEASE_6_4_0:1.4
	RELEASE_5_EOL:1.4
	RELEASE_7_0_0:1.4
	RELEASE_6_3_0:1.4
	PRE_XORG_7:1.3
	RELEASE_4_EOL:1.3
	RELEASE_6_2_0:1.3
	RELEASE_6_1_0:1.3
	RELEASE_5_5_0:1.3;
locks; strict;
comment	@# @;


1.6
date	2012.11.17.06.02.30;	author svnexp;	state Exp;
branches;
next	1.5;

1.5
date	2011.02.25.00.56.51;	author linimon;	state Exp;
branches;
next	1.4;

1.4
date	2007.05.19.20.24.33;	author flz;	state Exp;
branches;
next	1.3;

1.3
date	2006.02.07.17.56.16;	author sem;	state Exp;
branches;
next	1.2;

1.2
date	2006.01.05.03.57.33;	author edwin;	state Exp;
branches;
next	1.1;

1.1
date	2005.10.21.10.23.30;	author sem;	state Exp;
branches;
next	;


desc
@@


1.6
log
@Switch exporter over
@
text
@# New ports collection makefile for:	dalbum
# Date created:				21 October 2005
# Whom:					Sergey Matveychuk <sem@@FreeBSD.org>
#
# $FreeBSD: head/www/dalbum/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	dalbum
PORTVERSION=	140.152
PORTREVISION=	3
CATEGORIES=	www
MASTER_SITES=	http://www.dalbum.org/
DISTNAME=	${PORTNAME}${PORTVERSION:S/./_/}

MAINTAINER=	sem@@FreeBSD.org
COMMENT=	Free, highly customizable PHP photo album

RUN_DEPENDS=	convert:${PORTSDIR}/graphics/ImageMagick
USE_PHP=	session pcre
NO_BUILD=	yes

DALBUM_DIR?=	www/photo

PLIST_SUB+=	DALBUM_DIR=${DALBUM_DIR}
SUB_LIST+=	DALBUM_DIR=${DALBUM_DIR}
SUB_FILES=	pkg-message

do-extract:
	@@${RM} -rf ${WRKDIR}
	@@${MKDIR} -p ${WRKSRC}
	@@if ! (cd ${WRKSRC} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${DISTFILES} ${EXTRACT_AFTER_ARGS});\
	then \
		exit 1; \
	fi

post-patch:
	@@${REINPLACE_CMD} "s#%%LOCALBASE%%#${LOCALBASE}#" ${WRKSRC}/config/config.php
	@@${RM} ${WRKSRC}/config/config.php.*

do-install:
	@@${MKDIR} -m 0775 ${PREFIX}/${DALBUM_DIR}
	@@cd ${WRKSRC} && ${FIND} . -print | ${CPIO} --quiet -pdum -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${DALBUM_DIR}

post-install:
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
@


1.5
log
@- make dirrmtry more friendly [1]
- allow checking STRIP when WITH_DEBUG is defined [2]
- unify the message with real URL by removing superfluous slash [3]

PR:		152102 [1],
		153539 [2],
		154653 [3]
Submitted by:	az [1],
		Anonymous <swell dot k at gmail dot com> [2],
		sunpoet [3]
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.4
log
@- Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.3
log
@- Remove USE_REINPLACE from my ports
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.2
log
@Chase libversion bumb to libMagick.so.9

PR:		ports/91270
@
text
@a20 1
USE_REINPLACE=	yes
@


1.1
log
@Highly customizable PHP photo album
WWW: http://www.dalbum.org
@
text
@d10 1
@

