diff options
author | OKAZAKI Tetsurou <okazaki@FreeBSD.org> | 2003-05-23 01:35:07 +0000 |
---|---|---|
committer | OKAZAKI Tetsurou <okazaki@FreeBSD.org> | 2003-05-23 01:35:07 +0000 |
commit | a42eb593cbb802f7757dca0dd964af4ab4dc3eb1 (patch) | |
tree | 70e6435c5d43214e641114306f919572c73e2e2f /japanese/gxditview/Makefile | |
parent | Enable building of the mod_dav_svn module if MOD_DAV_SVN is defined. (diff) |
Upgrade to 1.18.1.
Mark BROKEN: Unidentified in the ability to build.
Notes
Notes:
svn path=/head/; revision=81768
Diffstat (limited to 'japanese/gxditview/Makefile')
-rw-r--r-- | japanese/gxditview/Makefile | 56 |
1 files changed, 23 insertions, 33 deletions
diff --git a/japanese/gxditview/Makefile b/japanese/gxditview/Makefile index 743b8d46f68b..89baf9d81dd9 100644 --- a/japanese/gxditview/Makefile +++ b/japanese/gxditview/Makefile @@ -6,16 +6,14 @@ # PORTNAME= gxditview -PORTVERSION= 1.17.2 -PORTREVISION= 1 +PORTVERSION= 1.18.1 CATEGORIES= japanese print MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= groff DISTNAME= groff-${PORTVERSION} -PATCH_SITES= ${MASTER_SITE_LOCAL} -PATCH_SITE_SUBDIR= okazaki/groff -PATCHFILES= ${DISTNAME}-jgroff-0.0.2.diff.gz +PATCH_SITES= http://people.debian.org/~ukai/groff/ +PATCHFILES= ${DISTNAME:S,-,_,}-7.diff.gz PATCH_DIST_STRIP= -p1 MAINTAINER= okazaki@FreeBSD.org @@ -23,45 +21,37 @@ COMMENT= Japanese enhancement of GNU xditview RUN_DEPENDS= ${LOCALBASE}/bin/groff:${PORTSDIR}/japanese/groff -# declare USE_AUTOCONF_VER as 213 until bsd.port.mk supports 252 (or later) -USE_AUTOCONF_VER= 213 -.if ${USE_AUTOCONF_VER} == 213 -USE_REINPLACE= yes -.endif -USE_GMAKE= yes +BROKEN= "Unidentified in the ability to build" + +GNU_CONFIGURE= yes +#USE_GMAKE= yes USE_IMAKE= yes +USE_REINPLACE= yes -CONFIGURE_ARGS= --program-prefix=g --enable-nippon -CONFIGURE_ENV= INSTALL_MAN="${INSTALL_MAN}" +CONFIGURE_ARGS= --program-prefix=g --enable-multibyte +CONFIGURE_ENV= INSTALL_MAN="${INSTALL_MAN}" \ + LIBS="-L${LOCALBASE}/lib -liconv" +CFLAGS+= -I${LOCALBASE}/include -MAKE_ENV= GROFF_PREFIX=${LOCALBASE} NIPPONDEFINES="-DNIPPON" -BUILD_WRKSRC= ${WRKDIR}/${DISTNAME}/src/xditview -INSTALL_WRKSRC= ${WRKDIR}/${DISTNAME}/src/xditview +MAKE_ENV= GROFF_PREFIX=${LOCALBASE} +XDITVIEW_WRKSRC=${WRKDIR}/${DISTNAME}/src/xditview +BUILD_WRKSRC= ${XDITVIEW_WRKSRC} +INSTALL_WRKSRC= ${XDITVIEW_WRKSRC} MAN1= gxditview.1 .include <bsd.port.pre.mk> -# workaround for autoconf-2.13 - -CONFIGUREIN_FILTER= \ - -e 's|AC_INIT|dnl|g;' \ - -e 's|AC_CONFIG_SRCDIR|AC_INIT|g;' \ - -e 's|AC_OUTPUT|dnl|g;' \ - -e 's|AC_CONFIG_FILES|AC_OUTPUT|g;' - -ACLOCAL_FILTER= \ - -e 's/AC_LANG_POP[(]C[+][+][)]/AC_LANG_RESTORE/g;' \ - -e 's/AC_LANG_PUSH[(]C[+][+][)]/AC_LANG_SAVE[]AC_LANG_CPLUSPLUS/g;' - post-extract: ${CP} ${FILESDIR}/Imakefile ${WRKSRC} post-patch: -.if ${USE_AUTOCONF_VER} == 213 - ${CP} -p ${WRKSRC}/configure.ac ${WRKSRC}/configure.in - ${REINPLACE_CMD} ${CONFIGUREIN_FILTER} ${WRKSRC}/configure.in - ${REINPLACE_CMD} ${ACLOCAL_FILTER} ${WRKSRC}/aclocal.m4 -.endif + ${REINPLACE_CMD} -e 's|^\(GROFF_PREFIX =\) @prefix@|\1 ${LOCALBASE}|g;' \ + ${XDITVIEW_WRKSRC}/Imakefile.in + ${REINPLACE_CMD} -e 's|-I$$(TOOLKITSRC)|-I${LOCALBASE}/include|g;' \ + ${XDITVIEW_WRKSRC}/Imakefile.in + +post-configure: + (cd ${XDITVIEW_WRKSRC}; ${SETENV} ${MAKE_ENV} ${XMKMF}) .include <bsd.port.post.mk> |