summaryrefslogtreecommitdiffstats
path: root/japanese/gxditview/Makefile
diff options
context:
space:
mode:
authorokazaki <okazaki@FreeBSD.org>2001-08-06 01:09:20 +0000
committerokazaki <okazaki@FreeBSD.org>2001-08-06 01:09:20 +0000
commitad26b1d39fc1dc257228a24645a0190d8f72f13a (patch)
treefec3d695bc67bc12545f9823bbd3a401ce24ff71 /japanese/gxditview/Makefile
parent712ca9be213a81d49264aad6cf30c4fc25f3ed8e (diff)
downloadFreeBSD-ports-ad26b1d39fc1dc257228a24645a0190d8f72f13a.zip
FreeBSD-ports-ad26b1d39fc1dc257228a24645a0190d8f72f13a.tar.gz
Update to 1.17.
Diffstat (limited to 'japanese/gxditview/Makefile')
-rw-r--r--japanese/gxditview/Makefile26
1 files changed, 17 insertions, 9 deletions
diff --git a/japanese/gxditview/Makefile b/japanese/gxditview/Makefile
index 6071ee8..9611e9b1 100644
--- a/japanese/gxditview/Makefile
+++ b/japanese/gxditview/Makefile
@@ -6,27 +6,35 @@
#
PORTNAME= gxditview
-PORTVERSION= 0.100
+PORTVERSION= 1.17
CATEGORIES= japanese print
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= groff
-DISTNAME= groff-1.15
+DISTNAME= groff-${PORTVERSION}
PATCH_SITES= ${MASTER_SITE_LOCAL}
-PATCH_SITE_SUBDIR= okazaki
-PATCHFILES= ${DISTNAME}-jgroff-${PORTVERSION}-pl1.diff.gz
-PATCH_DIST_ARGS= -d ${WRKSRC}/.. --forward --quiet -E -p1
+PATCH_SITE_SUBDIR= okazaki/groff
+PATCHFILES= ${DISTNAME}-jgroff-0.0.1.diff.gz
+PATCH_DIST_STRIP= -p1
MAINTAINER= okazaki@FreeBSD.org
RUN_DEPENDS= ${LOCALBASE}/bin/groff:${PORTSDIR}/japanese/groff
+USE_AUTOCONF= yes
+USE_GMAKE= yes
USE_IMAKE= yes
-MAKE_ENV= NIPPONDEFINES="-DNIPPON"
-WRKSRC= ${WRKDIR}/${DISTNAME}/xditview
+
+CONFIGURE_ARGS= --program-prefix=g --enable-nippon
+CONFIGURE_ENV= INSTALL_MAN="${INSTALL_MAN}"
+
+MAKE_ENV= GROFF_PREFIX=${LOCALBASE} NIPPONDEFINES="-DNIPPON"
+BUILD_WRKSRC= ${WRKDIR}/${DISTNAME}/src/xditview
+INSTALL_WRKSRC= ${WRKDIR}/${DISTNAME}/src/xditview
+
MAN1= gxditview.1
-post-patch:
- @${PERL} -pi -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/Imakefile
+post-extract:
+ ${CP} ${FILESDIR}/Imakefile ${WRKSRC}
.include <bsd.port.mk>
OpenPOWER on IntegriCloud