STAGE support, general cleanups, use @sample where appropriate.

PORTREVISION bumps where plist or pkg-message changed.
This commit is contained in:
Adam Weinberger 2014-05-15 18:41:24 +00:00
parent 795fc4961d
commit efd139ed48
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=354165
22 changed files with 3945 additions and 4030 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= akamaru
PORTVERSION= 0.1
PORTREVISION= 7
PORTREVISION= 8
CATEGORIES= deskutils gnome
MASTER_SITES= http://people.freedesktop.org/~krh/
DISTNAME= ${PORTNAME}
@ -11,31 +11,22 @@ DISTNAME= ${PORTNAME}
MAINTAINER= pneumann@gmail.com
COMMENT= Simple, but fun, physics engine prototype
BUILD_DEPENDS= gtk-demo:${PORTSDIR}/x11-toolkits/gtk20
RUN_DEPENDS= gtk-demo:${PORTSDIR}/x11-toolkits/gtk20 \
xcompmgr:${PORTSDIR}/x11-wm/xcompmgr
RUN_DEPENDS=xcompmgr:${PORTSDIR}/x11-wm/xcompmgr
USES= gmake pkgconfig
USE_GNOME= gconf2 gnomehier
USE_GNOME= gconf2 gnomehier gtk20
GCONF_SCHEMAS= kiba.schemas
SUB_FILES= pkg-message
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' \
${WRKSRC}/populate-dock.sh
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/dock ${PREFIX}/bin/kiba-dock
@${INSTALL_PROGRAM} ${WRKSRC}/akamaru ${PREFIX}/bin/akamaru
@${INSTALL_DATA} ${WRKSRC}/kiba.schemas ${LOCALBASE}/etc/gconf/schemas
@${MKDIR} ${PREFIX}/share/${PORTNAME}
@${INSTALL_SCRIPT} ${WRKSRC}/populate-dock.sh ${PREFIX}/share/${PORTNAME}
@${SETENV} GCONF_CONFIG_SOURCE=${GCONF_CONFIG_SOURCE} gconftool-2 --makefile-install-rule ${PREFIX}/etc/gconf/schemas/kiba.schemas
post-install:
@${ECHO_MSG}
@${ECHO_MSG} "*** By default kiba-dock is empty."
@${ECHO_MSG} "*** To add launchers, look and run the script ${PREFIX}/share/${PORTNAME}/populate-dock.sh"
@${ECHO_MSG}
@${INSTALL_PROGRAM} ${WRKSRC}/dock ${STAGEDIR}${PREFIX}/bin/kiba-dock
@${INSTALL_PROGRAM} ${WRKSRC}/akamaru ${STAGEDIR}${PREFIX}/bin/akamaru
@${INSTALL_DATA} ${WRKSRC}/kiba.schemas ${STAGEDIR}${LOCALBASE}/etc/gconf/schemas
@${MKDIR} ${STAGEDIR}${DATADIR}
@${INSTALL_SCRIPT} ${WRKSRC}/populate-dock.sh ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
*** By default kiba-dock is empty.
*** To add launchers, look at and run the script
%%DATADIR%%/populate-dock.sh

View File

@ -3,4 +3,4 @@ super awesome ninja dog, Akamaru, from the Naruto anime and based on the
article Advanced Character Physics by Thomas Jakobsen on Verlet integration.
It contains a very cool dock, called kiba.
WWW: http://people.freedesktop.org/~krh/akamaru.git/
WWW: http://people.freedesktop.org/~krh/akamaru.git/

View File

@ -1,4 +1,4 @@
bin/kiba-dock
bin/akamaru
share/akamaru/populate-dock.sh
@dirrm share/akamaru
%%DATADIR%%/populate-dock.sh
@dirrm %%DATADIR%%

View File

@ -25,27 +25,22 @@ PORTNAMESUFFIX= ${PKGNAMESUFFIX}
LISPDIR= ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
WRKSRC= ${WRKDIR}/${DISTNAME}a
.if !defined(NOPORTDOCS)
PORTDOCS= etasktut.pdf gpl.txt README
.endif
NO_STAGE= yes
do-build:
cd ${WRKSRC}; ${EMACS_NAME} -batch -no-site-file\
--eval="(add-to-list 'load-path \"${WRKSRC}\")"\
-f batch-byte-compile *.el
do-install:
${MKDIR} ${LISPDIR}
${MKDIR} ${STAGEDIR}${LISPDIR}
.for i in *.el *.elc
${INSTALL_DATA} ${WRKSRC}/${i} ${LISPDIR}
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${LISPDIR}
.endfor
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>

View File

@ -2,7 +2,7 @@
PORTNAME= howm
PORTVERSION= 1.4.1
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= deskutils
MASTER_SITES= http://howm.sourceforge.jp/a/
@ -15,27 +15,19 @@ ELISP= action-lock.el bcomp.el cheat-font-lock.el \
howm-common.el howm-date.el howm-menu.el howm-misc.el \
howm-mode.el howm-reminder.el \
howm-version.el howm-view.el howm.el riffle.el
.if defined(WITH_COMPILED_ELISP)
PLIST_SUB= COMPILED_ELISP=""
.else
PLIST_SUB= COMPILED_ELISP="@comment "
.endif
NO_STAGE= yes
OPTIONS_DEFINE= COMPILED_ELISP DOCS EXAMPLES
OPTIONS_DEFAULT=COMPILED_ELISP DOCS EXAMPLES
COMPILED_ELISP_DESC= Install pre-compiled ELISP files
OPTIONS_SUB= yes
do-install:
cd ${WRKSRC}; ${INSTALL_DATA} *.el ${PREFIX}/${EMACS_SITE_LISPDIR}
.if defined(WITH_COMPILED_ELISP)
cd ${WRKSRC}; ${INSTALL_DATA} *.elc ${PREFIX}/${EMACS_SITE_LISPDIR}
.endif
${MKDIR} ${EXAMPLESDIR}/ja ${EXAMPLESDIR}/en
cd ${WRKSRC}; ${INSTALL_DATA} ja/0* ${EXAMPLESDIR}/ja
cd ${WRKSRC}; ${INSTALL_DATA} en/0* ${EXAMPLESDIR}/en
${MKDIR} ${DOCSDIR}
cd ${WRKSRC}/doc; ${INSTALL_DATA} *.html *.png ${DOCSDIR}
post-install:
@${ECHO}
@${CAT} ${PKGMESSAGE}
@${ECHO}
(cd ${WRKSRC}; ${INSTALL_DATA} *.el ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR})
(cd ${WRKSRC}; ${INSTALL_DATA} *.elc ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR})
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/ja ${STAGEDIR}${EXAMPLESDIR}/en
(cd ${WRKSRC}; ${INSTALL_DATA} ja/0* ${STAGEDIR}${EXAMPLESDIR}/ja)
(cd ${WRKSRC}; ${INSTALL_DATA} en/0* ${STAGEDIR}${EXAMPLESDIR}/en)
${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/doc; ${INSTALL_DATA} *.html *.png ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>

View File

@ -18,40 +18,29 @@ USE_PHP= curl \
session \
xml
USES= gettext
WANT_PHP_MOD= yes
OPTIONS_DEFINE= ADDONS PGSQL NLS
OPTIONS_DEFINE= ADDONS NLS
OPTIONS_SINGLE= DB
OPTIONS_SINGLE_DB= PGSQL MYSQL
OPTIONS_DEFAULT= NLS MYSQL
ADDONS_DESC= install additional workgroup features (addons)
OPTIONS_SUB= yes
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
.endif
.if ${PORT_OPTIONS:MPGSQL}
RUN_DEPENDS+= ${LOCALBASE}/bin/psql:${PORTSDIR}/databases/postgresql74-server
.else
USE_MYSQL= server
.endif
.if ${PORT_OPTIONS:MADDONS}
DISTFILES+= ${DISTNAME}${EXTRACT_SUFX} \
${PORTNAME}-addons-${PORTVERSION}${EXTRACT_SUFX}
PLIST_SUB+= ADDONS=""
.else
PLIST_SUB+= ADDONS="@comment "
.endif
NLS_USES= gettext
PGSQL_USE= PGSQL=server
MYSQL_USE= MYSQL=server
ADDONS_DISTFILES= ${PORTNAME}-addons-${PORTVERSION}${EXTRACT_SUFX}
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME:R}
SHAREOWN= ${WWWOWN}
SHAREGRP= ${WWWGRP}
do-install:
@${CP} -r ${WRKSRC} ${PREFIX}/www/
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/www/moregroupware
post-install:
${CAT} ${PKGMESSAGE}
@${MKDIR} ${STAGEDIR}${WWWDIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})
.include <bsd.port.mk>

File diff suppressed because it is too large Load Diff

View File

@ -3,7 +3,7 @@
PORTNAME= myitcrm
PORTVERSION= 0.2.9.3
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= deskutils
MASTER_SITES= SF/myitcrm/
DISTNAME= MyITCRM1-${PORTVERSION}
@ -26,12 +26,15 @@ PORTEXAMPLES= htaccess.txt
PORTDOCS= changelog.txt README.textile
USE_DOS2UNIX= yes
OPTIONS_DEFINE= APACHE PHPMOD LIGHTTPD NGINX
OPTIONS_DEFINE= APACHE PHPMOD LIGHTTPD NGINX DOCS EXAMPLES
OPTIONS_DEFAULT= APACHE
PHPMOD_DESC= Use PHP module for Apache
NGINX_DESC= Use Nginx
NO_STAGE= yes
APACHE_USE= APACHE_RUN=22+
LIGHTTPD_RUN_DEPENDS= lighttpd:${PORTSDIR}/www/lighttpd
NGINX_RUN_DEPENDS= nginx:${PORTSDIR}/www/nginx
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MPHPMOD}
@ -40,16 +43,6 @@ WANT_PHP_MOD= yes
WANT_PHP_CGI= yes
.endif
.if ${PORT_OPTIONS:MAPACHE}
USE_APACHE_RUN= 22+
.endif
.if ${PORT_OPTIONS:MLIGHTTPD}
RUN_DEPENDS+= lighttpd:${PORTSDIR}/www/lighttpd
.endif
.if ${PORT_OPTIONS:MNGINX}
RUN_DEPENDS+= nginx:${PORTSDIR}/www/nginx
.endif
# Set files to ignore.
.for file in ${PORTEXAMPLES} ${PORTDOCS} LICENSE.txt
WWW_IGNORE+= -not -name ${file}
@ -64,31 +57,26 @@ rm-install:
.endif
post-patch:
${MV} ${WRKSRC}/conf-default.php ${WRKSRC}/conf.php.sample
do-install:
@${MKDIR} ${WWWDIR}
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${WWWDIR} '${WWW_IGNORE}'
@if [ ! -f ${WWWDIR}/conf.php ]; then \
${CP} ${WWWDIR}/conf-default.php ${WWWDIR}/conf.php; \
fi
@${MKDIR} ${STAGEDIR}${WWWDIR}
(@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} '${WWW_IGNORE}')
.for ent in ${WRITEABLE}
@${CHOWN} ${WWWOWN}:${WWWGRP} ${WWWDIR}/${ent}
@${CHMOD} u+w ${WWWDIR}/${ent}
@${CHOWN} ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}/${ent}
@${CHMOD} u+w ${STAGEDIR}${WWWDIR}/${ent}
.endfor
.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${EXAMPLESDIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for ex in ${PORTEXAMPLES}
@${INSTALL_DATA} ${WRKSRC}/${ex} ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/${ex} ${STAGEDIR}${EXAMPLESDIR}
.endfor
.endif # PORTEXAMPLES
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
.endfor
.endif # PORTDOCS
post-install:
@${CAT} ${PKGMESSAGE}
.if defined(MAINTAINER_MODE)
@${MAKE} -C ${.CURDIR} rm-install
.endif

View File

@ -1,8 +1,7 @@
@unexec if cmp -s %D/%%WWWDIR%%/conf.php %D/%%WWWDIR%%/conf-default.php; then rm -f %D/%%WWWDIR%%/conf.php; fi
%%WWWDIR%%/backup/.htaccess
%%WWWDIR%%/backup/bigdump.php
%%WWWDIR%%/cache/index.php
%%WWWDIR%%/conf-default.php
@sample %%WWWDIR%%/conf.php.sample
%%WWWDIR%%/cron/.htaccess
%%WWWDIR%%/cron/backup.php
%%WWWDIR%%/cron/index.php
@ -1360,4 +1359,3 @@
@dirrm %%WWWDIR%%/cron
@dirrmtry %%WWWDIR%%/cache
@dirrm %%WWWDIR%%/backup
@exec if [ ! -f %D/%%WWWDIR%%/conf.php ]; then cp -p %D/%%WWWDIR%%/conf-default.php %D/%%WWWDIR%%/conf.php; fi

View File

@ -18,7 +18,6 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
MAN1= pal.1
NO_STAGE= yes
.include <bsd.port.pre.mk>
post-patch:
@ -28,10 +27,10 @@ post-build:
${REINPLACE_CMD} -e "s,VERSION,${PORTVERSION},g" ${WRKDIR}/${PORTNAME}-${PORTVERSION}/pal.1.template
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pal ${PREFIX}/bin
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/share/*.pal ${DATADIR}
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/pal.conf ${DATADIR}
${INSTALL_MAN} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/pal.1.template ${PREFIX}/man/man1/pal.1
${INSTALL_PROGRAM} ${WRKSRC}/pal ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/share/*.pal ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/pal.conf ${STAGEDIR}${DATADIR}
${INSTALL_MAN} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/pal.1.template ${STAGEDIR}${MANPREFIX}/man/man1/pal.1
.include <bsd.port.post.mk>

View File

@ -1,4 +1,5 @@
bin/pal
man/man1/pal.1.gz
%%DATADIR%%/australia.pal
%%DATADIR%%/austria.pal
%%DATADIR%%/birth-death.pal

View File

@ -3,47 +3,34 @@
PORTNAME= phpcollab
PORTVERSION= 2.5
PORTREVISION= 1
CATEGORIES= deskutils
MASTER_SITES= SF/phpcollab/final/${PORTVERSION}/
DISTNAME= phpcollab-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= PHPcollab is project management and collaboration over the internet
USES= zip
USE_PHP+= mysql
USE_MYSQL= yes
NO_BUILD= yes
WWWOWN= www
WWWGRP= ${WWWOWN}
WRKSRC= ${WRKDIR}/${PORTNAME}
SHAREOWN= ${WWWOWN}
SHAREGRP= ${WWWGRP}
PKGMESSAGE= ${WRKDIR}/${PORTNAME}/pkg-message
SUB_FILES= pkg-message
SUB_FILES= pkg-message
PLIST_DIRSTRY= %%WWWDIR%%
OPTIONS_DEFINE= PGSQL APACHE LIGHTTPD
LIGHTTPD_DESC= Use Lighttpd webserver
OPTIONS_DEFAULT=MYSQL APACHE
OPTIONS_SINGLE= WEBSERVER DB
OPTIONS_SINGLE_WEBSERVER= APACHE LIGHTTPD
OPTIONS_SINGLE_DB= PGSQL MYSQL
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MPGSQL}
USE_PHP+= pgsql
RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/pdo_pgsql.so:${PORTSDIR}/databases/php5-pdo_pgsql
.endif
.if ${PORT_OPTIONS:MAPACHE}
USE_APACHE_RUN= 22
.endif
.if ${PORT_OPTIONS:MLIGHTTPD}
RUN_DEPENDS+= lighttpd:${PORTSDIR}/www/lighttpd
.endif
MYSQL_USE= PHP=mysql MYSQL=yes
PGSQL_USE= PHP=pgsql,pdo_pgsql PGSQL=yes
APACHE_USE= APACHE_RUN=22
LIGHTTPD_RUN_DEPENDS= lighttpd:${PORTSDIR}/ww/lighttpd
do-install:
@${MKDIR} ${WWWDIR}
@${CP} -r ${WRKDIR}/phpcollab/* ${WWWDIR}
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
post-install:
@${CAT} ${PKGMESSAGE}
@${MKDIR} ${STAGEDIR}${WWWDIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})
.include <bsd.port.mk>

View File

@ -3,39 +3,34 @@
PORTNAME= phpicalendar
PORTVERSION= 2.24
PORTREVISION= 1
CATEGORIES= deskutils www
MASTER_SITES= SF/${PORTNAME}/OldFiles
EXTRACT_SUFX= .tgz
MAINTAINER= edwin@mavetju.org
COMMENT= Webbased calendar with iCal support
USES= tar:tgz
NO_BUILD= yes
USE_PHP= session pcre
SUB_FILES= pkg-message
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/${PORTNAME}/
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/${PORTNAME}
NO_STAGE= yes
post-extract:
${FIND} ${WRKDIR} -name .DS_Store -delete
${FIND} ${WRKDIR} -name '._*' -delete
do-install:
.if !exists(${WWWDIR})
${MKDIR} ${WWWDIR}
.endif
${MKDIR} ${STAGEDIR}${WWWDIR}
.for dir in admin calendars functions images includes languages rss templates
@${CP} -Rv ${WRKSRC}/${dir} ${WWWDIR}
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}/${dir}
@${CP} -Rv ${WRKSRC}/${dir} ${STAGEDIR}${WWWDIR}
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}/${dir}
.endfor
.for f in index.php TIMEZONES error.php day.php preferences.php print.php search.php week.php month.php year.php README COPYING AUTHORS
@${CP} -v ${WRKSRC}/${f} ${WWWDIR}
${CHOWN} ${WWWOWN}:${WWWGRP} ${WWWDIR}/${f}
@${CP} -v ${WRKSRC}/${f} ${STAGEDIR}${WWWDIR}
${CHOWN} ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}/${f}
.endfor
@${CP} -v ${WRKSRC}/config.inc-dist.php ${WWWDIR}/config.inc.php-default
${CHOWN} ${WWWOWN}:${WWWGRP} ${WWWDIR}/config.inc.php-default
post-install:
@${CAT} ${PKGMESSAGE}
@${CP} -v ${WRKSRC}/config.inc-dist.php ${STAGEDIR}${WWWDIR}/config.inc.php.sample
${CHOWN} ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}/config.inc.php.sample
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
PHPiCalendar post-install instructions
--------------------------------------
Go to %%WWWDIR%% and copy config.inc.php-default to config.inc.php.
Edit %%WWWDIR%%/config.inc.php first to suit your needs.

View File

@ -7,7 +7,7 @@
%%WWWDIR%%/calendars/US Holidays.ics
%%WWWDIR%%/calendars/Work.ics
%%WWWDIR%%/calendars/publish.php
%%WWWDIR%%/config.inc.php-default
@sample %%WWWDIR%%/config.inc.php.sample
%%WWWDIR%%/day.php
%%WWWDIR%%/error.php
%%WWWDIR%%/functions/admin_functions.php

View File

@ -3,6 +3,7 @@
PORTNAME= plans
PORTVERSION= 8.2.1
PORTREVISION= 1
CATEGORIES= deskutils www
MASTER_SITES= http://www.planscalendar.com/release/:plans \
http://www.planscalendar.com/addons/:addons \
@ -24,26 +25,29 @@ EXTRACT_ONLY= ${PORTNAME}_${DISTVERSION}${EXTRACT_SUFX}
MAINTAINER= sylvio@FreeBSD.org
COMMENT= A Good Web Calendar
LICENSE= GPLv2
BUILD_DEPENDS= p5-CGI-Session>=0:${PORTSDIR}/www/p5-CGI-Session
RUN_DEPENDS:= ${BUILD_DEPENDS}
LICENSE= GPLv2
NO_BUILD= yes
USES= perl5 zip
USE_PERL5= run
SHAREOWN= ${WWWOWN}
SHAREGRP= ${WWWGRP}
SHAREMODE= 644
WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION}
SUB_FILES= pkg-message
NO_STAGE= yes
post-extract:
@${CP} ${_DISTDIR}/powerani.gif ${WRKSRC}/theme/graphics/freebsd.gif
@${CP} ${_DISTDIR}/*.pl ${WRKSRC}/
@${RM} -rf ${WRKSRC}/theme/us_english.pl
@for i in ${WRKSRC}/data/*xml ${WRKSRC}/*config.pl;\
do ${MV} $$i $$i.default; done
do ${MV} $$i $$i.sample; done
@${SED} -e 's/iso-8859-1/utf-8/' ${WRKSRC}/us_english.pl >\
${WRKSRC}/us_english_utf8.pl
@${TOUCH} ${WRKSRC}/theme/ical/.keep_me
@ -52,14 +56,10 @@ post-patch:
@${RM} -f ${WRKSRC}/theme/plans.template.orig
do-install:
@${INSTALL} -d ${WWWDIR}/
@${CP} -nR ${WRKSRC}/ ${WWWDIR}/
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}/
@${FIND} ${WWWDIR} -type f -exec ${CHMOD} 644 {} \;
@${FIND} ${WWWDIR} -name '*.cgi' -exec ${CHMOD} 755 {} \;
@${FIND} ${WWWDIR} -name '*.xml' -exec ${CHMOD} 664 {} \;
@for i in ${WWWDIR}/data/*default ${WWWDIR}/*default; do\
${CP} -np $$i $${i%.default} || ${TRUE} ; done
@${MKDIR} ${STAGEDIR}${WWWDIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})
@${FIND} ${STAGEDIR}${WWWDIR} -name '*.cgi' -exec ${CHMOD} 755 {} \;
@${FIND} ${STAGEDIR}${WWWDIR} -name '*.xml.sample' -exec ${CHMOD} 664 {} \;
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>

View File

@ -1,17 +1,3 @@
@exec if [ ! -f %D/%%WWWDIR%%/data/calendars.xml ] ; then cp -p %D/%F %B/calendars.xml; fi
@exec if [ ! -f %D/%%WWWDIR%%/data/email_reminders.xml ] ; then cp -p %D/%F %B/email_reminders.xml; fi
@exec if [ ! -f %D/%%WWWDIR%%/data/events.xml ] ; then cp -p %D/%F %B/events.xml; fi
@exec if [ ! -f %D/%%WWWDIR%%/data/new_calendars.xml ] ; then cp -p %D/%F %B/new_calendars.xml; fi
@exec if [ ! -f %D/%%WWWDIR%%/data/pending_actions.xml ] ; then cp -p %D/%F %B/pending_actions.xml; fi
@exec if [ ! -f %D/%%WWWDIR%%/data/users.xml ] ; then cp -p %D/%F %B/users.xml; fi
@exec if [ ! -f %D/%%WWWDIR%%/plans_config.pl ] ; then cp -p %D/%F %B/plans_config.pl; fi
@unexec if cmp -s %D/%%WWWDIR%%/data/calendars.xml.default %D/%%WWWDIR%%/data/calendars.xml; then rm -f %D/%%WWWDIR%%/data/calendars.xml; fi
@unexec if cmp -s %D/%%WWWDIR%%/data/email_reminders.xml.default %D/%%WWWDIR%%/data/email_reminders.xml; then rm -f %D/%%WWWDIR%%/data/email_reminders.xml; fi
@unexec if cmp -s %D/%%WWWDIR%%/data/events.xml.default %D/%%WWWDIR%%/data/events.xml; then rm -f %D/%%WWWDIR%%/data/events.xml; fi
@unexec if cmp -s %D/%%WWWDIR%%/data/new_calendars.xml.default %D/%%WWWDIR%%/data/new_calendars.xml; then rm -f %D/%%WWWDIR%%/data/new_calendars.xml; fi
@unexec if cmp -s %D/%%WWWDIR%%/data/pending_actions.xml.default %D/%%WWWDIR%%/data/pending_actions.xml; then rm -f %D/%%WWWDIR%%/data/pending_actions.xml; fi
@unexec if cmp -s %D/%%WWWDIR%%/data/users.xml.default %D/%%WWWDIR%%/data/users.xml; then rm -f %D/%%WWWDIR%%/data/users.xml; fi
@unexec if cmp -s %D/%%WWWDIR%%/plans_config.pl.default %D/%%WWWDIR%%/plans_config.pl; then rm -f %D/%%WWWDIR%%/plans_config.pl; fi
%%WWWDIR%%/Error.pm
%%WWWDIR%%/JSON/PP.pm
%%WWWDIR%%/JSON/PP/Boolean.pm
@ -21,12 +7,12 @@
%%WWWDIR%%/Time/Normalize.pm
%%WWWDIR%%/cz_czech.pl
%%WWWDIR%%/danish.pl
%%WWWDIR%%/data/calendars.xml.default
%%WWWDIR%%/data/email_reminders.xml.default
%%WWWDIR%%/data/events.xml.default
%%WWWDIR%%/data/new_calendars.xml.default
%%WWWDIR%%/data/pending_actions.xml.default
%%WWWDIR%%/data/users.xml.default
@sample %%WWWDIR%%/data/calendars.xml.sample
@sample %%WWWDIR%%/data/email_reminders.xml.sample
@sample %%WWWDIR%%/data/events.xml.sample
@sample %%WWWDIR%%/data/new_calendars.xml.sample
@sample %%WWWDIR%%/data/pending_actions.xml.sample
@sample %%WWWDIR%%/data/users.xml.sample
%%WWWDIR%%/de_german.pl
%%WWWDIR%%/email_reminders.cgi
%%WWWDIR%%/fr_french.pl
@ -36,7 +22,7 @@
%%WWWDIR%%/nl_dutch.pl
%%WWWDIR%%/plans.cgi
%%WWWDIR%%/plans_check.cgi
%%WWWDIR%%/plans_config.pl.default
@sample %%WWWDIR%%/plans_config.pl.sample
%%WWWDIR%%/plans_lib.pl
%%WWWDIR%%/plans_unit_test.pl
%%WWWDIR%%/sp_spanish.pl

View File

@ -16,16 +16,13 @@ USE_APACHE_RUN= 22
USE_MYSQL= yes
USE_PHP= mysql
PKGMESSAGE= ${WRKDIR}/${PORTNAME}/pkg-message
SUB_FILES= pkg-message
NO_STAGE= yes
do-install:
${MKDIR} ${WWWDIR}/
cd ${WRKSRC}/ && ${COPYTREE_SHARE} . ${WWWDIR}/
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}/
SHAREOWN= ${WWWOWN}
SHAREGRP= ${WWWGRP}
post-install:
@${CAT} ${PKGMESSAGE}
do-install:
${MKDIR} ${STAGEDIR}${WWWDIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})
.include <bsd.port.mk>

View File

@ -16,10 +16,11 @@ RUN_DEPENDS= tomboy:${PORTSDIR}/deskutils/tomboy
ALL_TARGET= Wordcount.dll
PLIST_FILES= lib/tomboy/addins/Wordcount.dll
ADDINS_DIR= lib/tomboy/addins
PLIST_FILES=${ADDINS_DIR}/Wordcount.dll
NO_STAGE= yes
do-install:
cd ${WRKSRC} && ${INSTALL_DATA} Wordcount.dll ${PREFIX}/lib/tomboy/addins/
@${MKDIR} ${STAGEDIR}${PREFIX}${ADDINSDIR}
${INSTALL_DATA} ${WRKSRC}/Wordcount.dll ${STAGEDIR}${PREFIX}${ADDINSDIR}
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
Tomboy-Wordcount is a Tomboy plugin (or “addin”) which will count the lines,
words, and characters in a note, much like the Unix “wc” (word count) tool.
WWW: http://www.proven-corporation.com/software/tomboy-wordcount/
WWW: http://www.proven-corporation.com/software/tomboy-wordcount/

View File

@ -17,28 +17,21 @@ RUN_DEPENDS= remind:${PORTSDIR}/deskutils/remind
USES= gmake ncurses
GNU_CONFIGURE= yes
MAN1= wyrd.1
MAN5= wyrdrc.5
PLIST_FILES= bin/wyrd etc/wyrdrc
PLIST_FILES= bin/wyrd etc/wyrdrc man/man1/wyrd.1.gz man/man5/wyrdrc.5.gz
PORTDOCS= manual.html manual.pdf
OPTIONS_DEFINE= UTF8 DOCS
UTF8_CONFIGURE_ENABLE= utf8
NO_STAGE= yes
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} 's|gcc|${CC}|' ${WRKSRC}/curses/curses.ml
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wyrd.opt ${PREFIX}/bin/wyrd
${INSTALL_DATA} ${WRKSRC}/wyrdrc ${PREFIX}/etc/wyrdrc
${INSTALL_MAN} ${WRKSRC}/doc/wyrd.1 ${MAN1PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/doc/wyrdrc.5 ${MAN5PREFIX}/man/man5
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/doc/,} ${DOCSDIR}
.endif
${INSTALL_PROGRAM} ${WRKSRC}/wyrd.opt ${STAGEDIR}${PREFIX}/bin/wyrd
${INSTALL_DATA} ${WRKSRC}/wyrdrc ${STAGEDIR}${PREFIX}/etc/wyrdrc
${INSTALL_MAN} ${WRKSRC}/doc/wyrd.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/doc/wyrdrc.5 ${STAGEDIR}${MAN5PREFIX}/man/man5
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/doc/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>