summaryrefslogtreecommitdiff
path: root/www/typo3_45
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2012-07-01 01:33:39 +0000
committerdholland <dholland@pkgsrc.org>2012-07-01 01:33:39 +0000
commitef44a27c3c7df84dc3d409f9d15e628daa6a607a (patch)
tree85c54ed43723eac52763bd301d3ca75df059cfb8 /www/typo3_45
parent38d0d0d3a53ccc2f34c35f69f297403a0c9f2384 (diff)
downloadpkgsrc-ef44a27c3c7df84dc3d409f9d15e628daa6a607a.tar.gz
Fix some pkglint.
Diffstat (limited to 'www/typo3_45')
-rw-r--r--www/typo3_45/Makefile28
1 files changed, 14 insertions, 14 deletions
diff --git a/www/typo3_45/Makefile b/www/typo3_45/Makefile
index f69e53c380b..d226b5b0315 100644
--- a/www/typo3_45/Makefile
+++ b/www/typo3_45/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2012/06/02 05:49:51 taca Exp $
+# $NetBSD: Makefile,v 1.11 2012/07/01 01:33:39 dholland Exp $
#
DISTNAME= ${TYPO3NAME}
@@ -9,7 +9,7 @@ DISTFILES= ${TYPO3NAME}${EXTRACT_SUFX} ${SITESRC}${EXTRACT_SUFX}
MAINTAINER= taca@NetBSD.org
HOMEPAGE= http://typo3.com/
-COMMENT= The TYPO3 content management system LTS release.
+COMMENT= The TYPO3 content management system LTS release
LICENSE= gnu-gpl-v2
DEPENDS+= ${PHP_PKG_PREFIX}-{mysql,pgsql}>=5.1.0:../../databases/php-mysql
@@ -20,7 +20,7 @@ PKG_DESTDIR_SUPPORT= user-destdir
VER= 4.5.16
NO_BUILD= yes
-USE_TOOLS= pax
+USE_TOOLS+= pax
TYPO3NAME= typo3_src-${VER}
SITESRC= dummy-${VER}
@@ -32,15 +32,15 @@ REPLACE.php.old= .*php[^ ]*
REPLACE.php.new= ${PREFIX}/bin/php
REPLACE_FILES.php= typo3/cli_dispatch.phpsh
-TYPO3DATADIR= fileadmin fileadmin/_temp_ fileadmin/user_upload \
+TYPO3DATADIRS= fileadmin fileadmin/_temp_ fileadmin/user_upload \
typo3conf typo3conf/ext typo3conf/l10n typo3temp uploads \
uploads/media uploads/pics uploads/tf
BUILD_DEFS+= APACHE_GROUP
-FILES_SUBST+= TYPO3DIR=${TYPO3DIR:Q} SITEDIR=${SITEDIR:Q}
-PLIST_SUBST+= EGDIR=${EGDIR:Q} SITEDIR=${SITEDIR:Q} \
- TYPO3DIR=${TYPO3DIR:Q} TYPO3NAME=${TYPO3NAME:Q}
+FILES_SUBST+= TYPO3DIR=${TYPO3DIR} SITEDIR=${SITEDIR}
+PLIST_SUBST+= EGDIR=${EGDIR} SITEDIR=${SITEDIR} \
+ TYPO3DIR=${TYPO3DIR} TYPO3NAME=${TYPO3NAME:Q}
EGDIR= share/examples/typo3
@@ -50,7 +50,7 @@ CONF_FILES_PERMS+= ${EGDIR}/localconf.php \
${TYPO3DIR}/${SITEDIR}/typo3conf/localconf.php \
${REAL_ROOT_USER} ${APACHE_GROUP} 0660
-.for d in ${TYPO3DATADIR}
+.for d in ${TYPO3DATADIRS}
OWN_DIRS_PERMS+= ${TYPO3DIR}/${SITEDIR}/${d} ${REAL_ROOT_USER} \
${APACHE_GROUP} 0770
CHECK_PERMS_SKIP+= ${TYPO3DIR}/${SITEDIR}/${d}
@@ -59,9 +59,9 @@ CHECK_PERMS_SKIP+= ${TYPO3DIR}/${SITEDIR}/${d}
SUBST_CLASSES+= conf
SUBST_FILES.conf+= ${WRKDIR}/README
SUBST_FILES.conf+= ${WRKSRC}/t3lib/config_default.php
-SUBST_SED.conf+= -e 's|@PREFIX@|${PREFIX:Q}|g'
-SUBST_SED.conf+= -e 's|@TYPO3DIR@|${TYPO3DIR:Q}|g'
-SUBST_SED.conf+= -e 's|@SITEDIR@|${SITEDIR:Q}|g'
+SUBST_SED.conf+= -e 's|@PREFIX@|${PREFIX}|g'
+SUBST_SED.conf+= -e 's|@TYPO3DIR@|${TYPO3DIR}|g'
+SUBST_SED.conf+= -e 's|@SITEDIR@|${SITEDIR}|g'
SUBST_STAGE.conf= post-configure
PRINT_PLIST_AWK+= /^${EGDIR:S|/|\\/|g}/ \
@@ -82,12 +82,12 @@ post-extract:
${CP} ${FILESDIR}/README ${WRKDIR}
pre-install:
- ${FIND} ${WRKSRC:Q} -name "*.orig*" -exec ${RM} -f {} \;
+ ${FIND} ${WRKSRC} -name "*.orig*" -exec ${RM} -f {} \;
do-install:
- cd ${WRKSRC}; \
+ cd ${WRKSRC} && \
pax -rw . ${DESTDIR}${PREFIX}/${TYPO3DIR}/${TYPO3NAME}
- cd ${WRKDIR}/${SITESRC}; \
+ cd ${WRKDIR}/${SITESRC} && \
pax -rw . ${DESTDIR}${PREFIX}/${TYPO3DIR}/${SITEDIR}
${RM} -f ${DESTDIR}${PREFIX}/${TYPO3DIR}/${SITEDIR}/typo3conf/localconf.php
${INSTALL_DATA} ${WRKDIR}/${SITESRC}/typo3conf/localconf.php \