1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/deskutils/pal/Makefile
Edwin Groothuis 090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00

46 lines
1.2 KiB
Makefile

# Ports collection makefile for: pal
# Date created: Mar 16, 2004
# Whom: Herbert J. Skuhra <h.skuhra@gmail.com>
#
# $FreeBSD$
PORTNAME= pal
PORTVERSION= 0.3.4
PORTREVISION= 4
CATEGORIES= deskutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= palcal
EXTRACT_SUFX= .tgz
MAINTAINER= h.skuhra@gmail.com
COMMENT= A calendar application
USE_GNOME= glib20
USE_GETTEXT= yes
USE_GMAKE= yes
ALL_TARGET=
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
MAN1= pal.1
.include <bsd.port.pre.mk>
.if exists(${LOCALBASE}/lib/libreadline.so.5)
LIB_DEPENDS= readline.5:${PORTSDIR}/devel/readline
.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}/pal.conf ${DATADIR}
${INSTALL_MAN} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/pal.1.template ${PREFIX}/man/man1/pal.1
.include <bsd.port.post.mk>