Fri Jan 30 16:42:38 2009 UTC ()
Enable DESTDIR (and it was implicitly update to typolight-example-2.6.5.


(taca)
diff -r1.2 -r1.3 pkgsrc/www/typolight-example/Makefile

cvs diff -r1.2 -r1.3 pkgsrc/www/typolight-example/Attic/Makefile (expand / switch to unified diff)

--- pkgsrc/www/typolight-example/Attic/Makefile 2008/09/23 07:22:10 1.2
+++ pkgsrc/www/typolight-example/Attic/Makefile 2009/01/30 16:42:38 1.3
@@ -1,33 +1,35 @@ @@ -1,33 +1,35 @@
1# $NetBSD: Makefile,v 1.2 2008/09/23 07:22:10 taca Exp $ 1# $NetBSD: Makefile,v 1.3 2009/01/30 16:42:38 taca Exp $
2# 2#
3 3
4DISTNAME= typolight-${TL_VERSION} 4DISTNAME= typolight-${TL_VERSION}
5PKGNAME= typolight-example-${TL_VERSION} 5PKGNAME= typolight-example-${TL_VERSION}
6CATEGORIES= www 6CATEGORIES= www
7MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=typolight/} 7MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=typolight/}
8 8
9MAINTAINER= taca@NetBSD.org 9MAINTAINER= taca@NetBSD.org
10HOMEPAGE= http://www.typolight.org/ 10HOMEPAGE= http://www.typolight.org/
11COMMENT= Sample site data for TYPOlight 11COMMENT= Sample site data for TYPOlight
12 12
13DEPENDS+= typolight>=${TL_VERSION}:../../www/typolight 13DEPENDS+= typolight>=${TL_VERSION}:../../www/typolight
14 14
15DISTINFO_FILE= ${.CURDIR}/../../www/typolight/distinfo 15DISTINFO_FILE= ${.CURDIR}/../../www/typolight/distinfo
16 16
17USE_TOOLS= pax 17USE_TOOLS= pax
18NO_BUILD= yes 18NO_BUILD= yes
19NO_CONFIGURE= yes 19NO_CONFIGURE= yes
20 20
 21PKG_DESTDIR_SUPPORT= destdir
 22
21WWW_EG_FILES= music_academy.css tl_files/music_academy 23WWW_EG_FILES= music_academy.css tl_files/music_academy
22WWW_FILE= templates/example_website.sql 24WWW_FILE= templates/example_website.sql
23 25
24.for f in ${WWW_EG_FILES} ${WWW_FILE} 26.for f in ${WWW_EG_FILES} ${WWW_FILE}
25EXTRACT_ELEMENTS+= ${DISTNAME}/${f} 27EXTRACT_ELEMENTS+= ${DISTNAME}/${f}
26.endfor 28.endfor
27 29
28PKG_GROUPS_VARS+= APACHE_GROUP 30PKG_GROUPS_VARS+= APACHE_GROUP
29PKG_USERS_VARS+= APACHE_USER 31PKG_USERS_VARS+= APACHE_USER
30 32
31do-install: 33do-install:
32 cd ${WRKSRC}; \ 34 cd ${WRKSRC}; \
33 pax -rw -pm ${WWW_EG_FILES} ${DESTDIR}${PREFIX}/${TL_EGDIR} 35 pax -rw -pm ${WWW_EG_FILES} ${DESTDIR}${PREFIX}/${TL_EGDIR}