mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
d4329229fb
While here move manpages to share/man
35 lines
1.0 KiB
Makefile
35 lines
1.0 KiB
Makefile
PORTNAME= pal
|
|
PORTVERSION= 0.4.3
|
|
PORTREVISION= 4
|
|
CATEGORIES= deskutils
|
|
MASTER_SITES= SF/${PORTNAME}cal/${PORTNAME}/${PORTVERSION}
|
|
|
|
MAINTAINER= h.skuhra@gmail.com
|
|
COMMENT= Calendar application
|
|
WWW= https://palcal.sourceforge.net/
|
|
|
|
USES= gettext gmake gnome ncurses pkgconfig readline tar:tgz
|
|
USE_GNOME= glib20
|
|
ALL_TARGET=
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s,prefix = /usr,prefix = ${PREFIX},g;s,^CC,#CC,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 ${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}${PREFIX}/share/man/man1/pal.1
|
|
|
|
.include <bsd.port.mk>
|