mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
d969fbba79
Approved by: delphij (mentor) archivers/pecl-bz2/Makefile archivers/pecl-lzf/Makefile archivers/pecl-rar/Makefile audio/fapg/Makefile audio/pecl-id3/Makefile chinese/CJKUnifonts/Makefile chinese/auto-tw-l10n/Makefile chinese/dfsongsd/Makefile chinese/fortunetw/Makefile chinese/gcin/Makefile chinese/joe/Makefile chinese/joe2/Makefile chinese/pcmanx/Makefile chinese/phpbb-tw/Makefile chinese/tatter-tools/Makefile chinese/ve/Makefile chinese/zhcon/Makefile devel/pear-Console_Getopt/Makefile devel/pear-Console_Table/Makefile devel/pear-PEAR_Info/Makefile devel/pecl-expect/Makefile games/p5-Baseball-Sabermetrics/Makefile graphics/epdfview/Makefile graphics/p5-Chart-Clicker/Makefile graphics/p5-GD-Thumbnail/Makefile graphics/p5-Visio/Makefile mail/pecl-esmtp/Makefile math/pecl-stats/Makefile misc/pear-Services_Weather/Makefile net/ldapdiff/Makefile net/p5-RRD-Simple/Makefile net/pear-Net_CDDB/Makefile net/pear-Net_SMS/Makefile net/pecl-cvsclient/Makefile security/gwee/Makefile security/p5-GSSAPI/Makefile security/pam-pgsql/Makefile security/pecl-ssh2/Makefile security/pecl-tcpwrap/Makefile sysutils/p5-BSD-Sysctl/Makefile sysutils/p5-File-Next/Makefile textproc/csvdiff/Makefile textproc/p5-CSS/Makefile textproc/p5-Pod-XML/Makefile textproc/p5-SGML-DTDParse/Makefile textproc/p5-Text-Emoticon-GoogleTalk/Makefile textproc/p5-XML-Handler-Dtd2DocBook/Makefile textproc/p5-XML-Handler-Dtd2Html/Makefile textproc/p5-XML-SAXDriver-CSV/Makefile textproc/p5-XML-SAXDriver-Excel/Makefile textproc/p5-ack/Makefile textproc/pear-XML_DTD/Makefile textproc/pecl-stem/Makefile textproc/scim-input-pad/Makefile textproc/sdcv/Makefile www/b2evolution/Makefile www/dokuwiki/Makefile www/dokuwiki-devel/Makefile www/lilurl/Makefile www/p5-HTML-TableParser/Makefile www/p5-HTML-WikiConverter/Makefile www/p5-HTML-WikiConverter-DokuWiki/Makefile www/p5-HTML-WikiConverter-Kwiki/Makefile www/p5-HTML-WikiConverter-Markdown/Makefile www/p5-HTML-WikiConverter-MediaWiki/Makefile www/p5-HTML-WikiConverter-MoinMoin/Makefile www/p5-HTML-WikiConverter-Oddmuse/Makefile www/p5-HTML-WikiConverter-PbWiki/Makefile www/p5-HTML-WikiConverter-PhpWiki/Makefile www/p5-HTML-WikiConverter-PmWiki/Makefile www/p5-HTML-WikiConverter-SnipSnap/Makefile www/p5-HTML-WikiConverter-Socialtext/Makefile www/p5-HTML-WikiConverter-TikiWiki/Makefile www/p5-HTML-WikiConverter-UseMod/Makefile www/p5-HTML-WikiConverter-WakkaWiki/Makefile www/p5-HTML-WikiConverter-WikkaWiki/Makefile www/p5-WWW-Baseball-NPB/Makefile www/p5-WWW-Comic/Makefile www/p5-WWW-VenusEnvy/Makefile www/pear-Services_Delicious/Makefile www/pear-UDDI/Makefile www/xpi-cssviewer/Makefile www/xpi-gmail-manager/Makefile www/xpi-google-notebook/Makefile www/xpi-mrtech-local-install/Makefile www/xpi-no-referrer/Makefile www/xpi-server_switcher/Makefile www/xpi-unplug/Makefile www/xpi-videodownloader/Makefile www/xpi-web_developer/Makefile x11/xdialog/Makefile x11-fm/pcmanfm/Makefile
49 lines
1.2 KiB
Makefile
49 lines
1.2 KiB
Makefile
# New ports collection makefile for: lilurl
|
|
# Date created: 2006/09/10
|
|
# Whom: chinsan <chinsan.tw@gmail.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= lilurl
|
|
PORTVERSION= 0.1.1
|
|
CATEGORIES= www
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= chinsan@FreeBSD.org
|
|
COMMENT= A simple PHP/MySQL script for generating lil? URLs
|
|
|
|
USE_PHP= mysql pcre
|
|
NO_BUILD= yes
|
|
WANT_PHP_WEB= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
LILURL_DIR?= www/lilurl
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
SUB_FILES= pkg-message
|
|
PLIST= ${WRKDIR}/pkg-plist
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-extract:
|
|
@${MV} ${WRKSRC}/includes/conf.php ${WRKSRC}/includes/conf.php.sample
|
|
|
|
pre-install:
|
|
@cd ${WRKSRC} && ${FIND} -s . -type f | \
|
|
${SED} -e 's|^./||;s|^|${LILURL_DIR}/|' > ${PLIST} \
|
|
&& ${FIND} -d * -type d | \
|
|
${SED} -e 's|^|@dirrm ${LILURL_DIR}/|' >> ${PLIST} \
|
|
&& ${ECHO_CMD} @dirrm ${LILURL_DIR} >> ${PLIST}
|
|
|
|
do-install:
|
|
${MKDIR} ${TARGETDIR}/${LILURL_DIR}
|
|
@${CP} -R ${WRKSRC}/ ${TARGETDIR}/${LILURL_DIR}
|
|
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${TARGETDIR}/${LILURL_DIR}
|
|
|
|
post-install:
|
|
@${SED} -e 's,%%TARGETDIR%%,${TARGETDIR},; s,%%LILURL_DIR%%,${LILURL_DIR},g' \
|
|
${PKGMESSAGE}
|
|
|
|
.include <bsd.port.post.mk>
|