diff --git a/japanese/kpcal/Makefile b/japanese/kpcal/Makefile index 6d550c0e056b..098bcf7cc4f6 100644 --- a/japanese/kpcal/Makefile +++ b/japanese/kpcal/Makefile @@ -20,11 +20,12 @@ PATCH_DIST_STRIP= -p1 MAINTAINER= yoichi@FreeBSD.org ALL_TARGET= kpcal +MAN1= kpcal.1 -post-configure: - ${GZIP_CMD} ${WRKSRC}/kpcal.1 +post-patch: + ${PERL} -pi -e 's/long/time_t/' ${WRKSRC}/kpcal.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/kpcal ${LOCALBASE}/bin - ${INSTALL_MAN} ${WRKSRC}/kpcal.1.gz ${LOCALBASE}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/kpcal.1 ${LOCALBASE}/man/man1 .include diff --git a/japanese/kpcal/pkg-plist b/japanese/kpcal/pkg-plist index f7490ce3112d..05d1de73f3a2 100644 --- a/japanese/kpcal/pkg-plist +++ b/japanese/kpcal/pkg-plist @@ -1,2 +1 @@ bin/kpcal -man/man1/kpcal.1.gz