diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-04-01 23:16:59 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-04-01 23:16:59 +0000 |
commit | 03c9298349833192a36ec004538392b998dc9d93 (patch) | |
tree | b309d1021118df8592fb5f1409e9a8bdc60ba60c /deskutils/pal/Makefile | |
parent | Correct usage message for tidy.sh. (diff) |
Add pal, a command line calendar that can keep track of events. It has
similarities with the Unix cal command, the more complex GNU gcal program,
and the calendar program distributed with the BSDs.
PR: ports/64353
Submitted by: Herbert J. Skuhra <herbert.skuhra@gmx.at>
Diffstat (limited to 'deskutils/pal/Makefile')
-rw-r--r-- | deskutils/pal/Makefile | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/deskutils/pal/Makefile b/deskutils/pal/Makefile new file mode 100644 index 000000000000..daf448a78e36 --- /dev/null +++ b/deskutils/pal/Makefile @@ -0,0 +1,45 @@ +# Ports collection makefile for: pal +# Date created: Mar 16, 2004 +# Whom: Herbert J. Skuhra <herbert.skuhra@gmx.at> +# +# $FreeBSD$ + +PORTNAME= pal +PORTVERSION= 0.3.3 +CATEGORIES= deskutils +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= palcal +EXTRACT_SUFX= .tgz + +MAINTAINER= herbert.skuhra@gmx.at +COMMENT= A calendar application + +USE_GNOME= glib20 +USE_GETTEXT= yes +USE_GMAKE= yes +USE_REINPLACE= yes +ALL_TARGET= +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src + +MAN1= pal.1 + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 500000 +IGNORE= Needs readline 4.2 or newer +.endif + +post-patch: + @${REINPLACE_CMD} -e "s,prefix = /usr,prefix = ${PREFIX},g" ${WRKSRC}/Makefile.defs + +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}/share/*.conf ${DATADIR} + ${INSTALL_MAN} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/pal.1.template ${PREFIX}/man/man1/pal.1 + +.include <bsd.port.post.mk> |