blob: 25091c15c8f41c413dba2a7dccbba77e0a0f6c64 (
plain) (
tree)
|
|
# Created by: Herbert J. Skuhra <h.skuhra@gmail.com>
# $FreeBSD$
PORTNAME= pal
PORTVERSION= 0.3.4
PORTREVISION= 6
CATEGORIES= deskutils
MASTER_SITES= SF/${PORTNAME}cal/${PORTNAME}/${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= h.skuhra@gmail.com
COMMENT= A calendar application
USES= pkgconfig gettext
USE_GNOME= glib20
USE_GMAKE= yes
ALL_TARGET=
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
MAN1= pal.1
.include <bsd.port.pre.mk>
.if exists(${LOCALBASE}/lib/libreadline.so.6)
LIB_DEPENDS= readline.6:${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>
|