blob: 0b0a24ad5f9e268aad4869e8fdd8e486190d1588 (
plain)
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
|
# $NetBSD: Makefile,v 1.4 2009/02/09 21:57:10 joerg Exp $
#
DISTNAME= typolight-${TL_VERSION}
PKGNAME= typolight-example-${TL_VERSION}
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=typolight/}
MAINTAINER= taca@NetBSD.org
HOMEPAGE= http://www.typolight.org/
COMMENT= Sample site data for TYPOlight
DEPENDS+= typolight>=${TL_VERSION}:../../www/typolight
DISTINFO_FILE= ${.CURDIR}/../../www/typolight/distinfo
USE_TOOLS= pax
NO_BUILD= yes
NO_CONFIGURE= yes
PKG_DESTDIR_SUPPORT= destdir
WWW_EG_FILES= music_academy.css tl_files/music_academy
WWW_FILE= templates/example_website.sql
.for f in ${WWW_EG_FILES} ${WWW_FILE}
EXTRACT_ELEMENTS+= ${DISTNAME}/${f}
.endfor
PKG_GROUPS_VARS+= APACHE_GROUP
PKG_USERS_VARS+= APACHE_USER
INSTALLATION_DIRS+= ${TL_WEBDIR}/templates
do-install:
cd ${WRKSRC}; \
pax -rw -pm ${WWW_EG_FILES} ${DESTDIR}${PREFIX}/${TL_EGDIR}
cd ${WRKSRC}; ${INSTALL_DATA} ${WWW_FILE} \
${DESTDIR}${PREFIX}/${TL_WEBDIR}/templates
.include "../../www/typolight/Makefile.common"
.include "../../lang/php/phpversion.mk"
.include "../../mk/bsd.pkg.mk"
|