1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/deskutils/cal/Makefile
Dmitry Marakasov 37d6be4f4c - Add LICENSE
- Regenerate patches
- Simplify installation
2017-02-25 13:50:19 +00:00

30 lines
789 B
Makefile

# Created by: Andrey Zakhvatov <andy@icc.surw.chel.su>
# $FreeBSD$
PORTNAME= cal
PORTVERSION= 3.5
PORTREVISION= 1
CATEGORIES= deskutils
MASTER_SITES= SUNSITE/utils/shell
MAINTAINER= ports@FreeBSD.org
COMMENT= Enhanced color version of standard calendar utility
LICENSE= PD
WRKSRC= ${WRKDIR}/cal-3.5/source
MAKEFILE= makefile.unx
ALL_TARGET= cal
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/cal.1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/cal ${STAGEDIR}${PREFIX}/bin/cal
${INSTALL_MAN} ${WRKSRC}/cal.1 ${STAGEDIR}${MANPREFIX}/man/man1
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/cal
${INSTALL_DATA} ${WRKDIR}/cal-3.5/cal.col ${STAGEDIR}${ETCDIR}/calcol.sample
${INSTALL_DATA} ${WRKDIR}/cal-3.5/cal.dat ${STAGEDIR}${ETCDIR}/caldat.sample
.include <bsd.port.mk>