diff options
author | Beech Rintoul <beech@FreeBSD.org> | 2011-05-26 21:20:41 +0000 |
---|---|---|
committer | Beech Rintoul <beech@FreeBSD.org> | 2011-05-26 21:20:41 +0000 |
commit | b5501d7d7ea40088fca9e5f12720c53a860f746a (patch) | |
tree | fff3c91cc3c89f3fbeb7f284a21e6396030bb97b /devel | |
parent | Update to 20110515 (diff) |
- New port horde4-translation-1.0.0
- Horde translation library.
Notes
Notes:
svn path=/head/; revision=274713
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/horde4-translation/Makefile | 43 | ||||
-rw-r--r-- | devel/horde4-translation/distinfo | 2 | ||||
-rw-r--r-- | devel/horde4-translation/files/pkg-message.in | 7 | ||||
-rw-r--r-- | devel/horde4-translation/pkg-descr | 3 | ||||
-rw-r--r-- | devel/horde4-translation/pkg-plist | 8 |
6 files changed, 64 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 4d54092f2b7c..1ba41148bbdd 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -558,6 +558,7 @@ SUBDIR += horde4-date SUBDIR += horde4-dateparser SUBDIR += horde4-rdo + SUBDIR += horde4-translation SUBDIR += hp48cc SUBDIR += hp48xgcc SUBDIR += hs-Boolean diff --git a/devel/horde4-translation/Makefile b/devel/horde4-translation/Makefile new file mode 100644 index 000000000000..c8bba1fd01b5 --- /dev/null +++ b/devel/horde4-translation/Makefile @@ -0,0 +1,43 @@ +# Ports collection makefile for: horde4-translation +# Date created: THU May 26, 2011 +# Whom: Beech Rintoul <beech@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= translation +PORTVERSION= 1.0.0 +DISTVERSIONPREFIX= +DISTVERSIONSUFFIX= +CATEGORIES= devel www +MASTER_SITES= http://pear.horde.org/get/ \ + LOCAL/beech +PKGNAMEPREFIX= horde4- +DISTNAME= Horde_Translation-${PORTVERSION} +EXTRACT_SUFX= .tgz + +MAINTAINER= beech@FreeBSD.org +COMMENT= Horde translation library + +USE_HORDE= base +USE_GETTEXT= yes +TRNDIR= Translation +HORDIR+= ${HORBAS}${TRNDIR:S|^|/|:S|/horde||} + +post-extract: + @${MKDIR} ${WRKSRC}/config && touch ${WRKSRC}/config/placeholder.dist + +do-install: + @${INSTALL} -d ${HORDIR}/ + @${CP} ${WRKSRC}/lib/Horde/Translation.php ${HORBAS}/ + @${CP} -Rp ${WRKSRC}/lib/Horde/Translation/ ${HORDIR}/ + @${ECHO_CMD} @exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} %D/${HORDIR:S|^${PREFIX}/||}/ >> ${TMPPLIST} + @${ECHO_CMD} @exec ${CHMOD} -R o-rwx %D/${HORDIR:S|^${PREFIX}/||}/ >> ${TMPPLIST} + @${ECHO_CMD} "@exec ${TOUCH} ${HORLOG};${CHOWN} ${WWWOWN}:${WWWGRP} ${HORLOG}" >> ${TMPPLIST} + + @${ECHO_MSG} + @${CAT} ${PKGMESSAGE} + @${ECHO_MSG} + +.include "${.CURDIR}/../../www/horde4-base/bsd.horde4.mk" +.include <bsd.port.mk> diff --git a/devel/horde4-translation/distinfo b/devel/horde4-translation/distinfo new file mode 100644 index 000000000000..8a2ce60c6a27 --- /dev/null +++ b/devel/horde4-translation/distinfo @@ -0,0 +1,2 @@ +SHA256 (Horde_Translation-1.0.0.tgz) = d79ec2649ed6271fcbe2aebc7fbdc855f54ff8c85dd80befb358283429255ce8 +SIZE (Horde_Translation-1.0.0.tgz) = 4673 diff --git a/devel/horde4-translation/files/pkg-message.in b/devel/horde4-translation/files/pkg-message.in new file mode 100644 index 000000000000..c11196c918a9 --- /dev/null +++ b/devel/horde4-translation/files/pkg-message.in @@ -0,0 +1,7 @@ +************************************************************************ +Translation has been installed in %%HORDIR%%/. + +Horde must be configured and the tables created; if not, see +`pkg_info -Dx horde-base'. + +************************************************************************ diff --git a/devel/horde4-translation/pkg-descr b/devel/horde4-translation/pkg-descr new file mode 100644 index 000000000000..616feb9ed2b3 --- /dev/null +++ b/devel/horde4-translation/pkg-descr @@ -0,0 +1,3 @@ +Horde translation library. + +WWW: http://www.horde.org diff --git a/devel/horde4-translation/pkg-plist b/devel/horde4-translation/pkg-plist new file mode 100644 index 000000000000..709b980cb70f --- /dev/null +++ b/devel/horde4-translation/pkg-plist @@ -0,0 +1,8 @@ +%%HORBAS%%/Translation.php +%%HORDIR%%/Exception.php +%%HORDIR%%/Handler.php +%%HORDIR%%/Handler/Gettext.php +@dirrm %%HORDIR%%/Handler +@dirrmtry %%HORDIR%% +@dirrmtry %%HORBAS%% + |