aboutsummaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorFUJISHIMA Satsuki <sf@FreeBSD.org>2005-04-15 18:45:42 +0000
committerFUJISHIMA Satsuki <sf@FreeBSD.org>2005-04-15 18:45:42 +0000
commit9aaef51129801522de5728c6f2cf0b5ef905dc4c (patch)
treec866d7423bde308c22b0346d7f16311a316ecf45 /japanese
parent4f82756f909fd47b7a1d3ac1600c83e91a418bb2 (diff)
downloadports-9aaef51129801522de5728c6f2cf0b5ef905dc4c.tar.gz
ports-9aaef51129801522de5728c6f2cf0b5ef905dc4c.zip
Notes
Diffstat (limited to 'japanese')
-rw-r--r--japanese/tk80/Makefile8
-rw-r--r--japanese/tkstep80/Makefile8
-rw-r--r--japanese/xyagamo/Makefile10
3 files changed, 11 insertions, 15 deletions
diff --git a/japanese/tk80/Makefile b/japanese/tk80/Makefile
index c1503ab42952..14ec51bffe22 100644
--- a/japanese/tk80/Makefile
+++ b/japanese/tk80/Makefile
@@ -30,6 +30,7 @@ PATCH_DIST_ARGS=-d ${TOPDIR} --forward --quiet -E ${PATCH_DIST_STRIP}
.endif
USE_AUTOCONF_VER= 213
USE_XLIB= yes
+USE_REINPLACE= yes
CONFIGURE_ARGS= --enable-shared --with-tcl=${PREFIX}/lib/tcl${VERSION}jp \
--enable-xlibHack --enable-onTheSpot
RANLIB= ranlib
@@ -37,12 +38,9 @@ INSTALLS_SHLIB= yes
.include <bsd.port.pre.mk>
-.if ${OSVERSION} > 600006
-BROKEN= "Depends on libxpg4 which was removed from FreeBSD 6.0"
-.endif
-
-.if !defined(NOPORTDOCS)
post-patch:
+ @${REINPLACE_CMD} -e '/xpg4/d' ${WRKSRC}/configure.in
+.if !defined(NOPORTDOCS)
@${CP} ${FILESDIR}/README.FreeBSD.in ${TOPDIR}/README.FreeBSD.JP.in
@${SED} -e 's%AC_OUTPUT(Makefile tkConfig.sh)%AC_OUTPUT(Makefile tkConfig.sh ../README.FreeBSD.JP)%' \
< ${WRKSRC}/configure.in \
diff --git a/japanese/tkstep80/Makefile b/japanese/tkstep80/Makefile
index 9816931902f7..b0159eb7e43f 100644
--- a/japanese/tkstep80/Makefile
+++ b/japanese/tkstep80/Makefile
@@ -21,6 +21,7 @@ COMMENT= The Tk toolkit with a NeXTSTEP look and more
LIB_DEPENDS= tcl80jp.1:${PORTSDIR}/japanese/tcl80
+USE_REINPLACE= yes
USE_XLIB= yes
USE_XPM= yes
USE_AUTOCONF_VER= 213
@@ -42,11 +43,10 @@ TCLVERSION= 8.0
TOPDIR= ${WRKDIR}/${DISTNAME}
PORTDOCDIR= ${PREFIX}/share/doc/tkstep${TCLVERSION}jp
-.include <bsd.port.pre.mk>
+post-patch:
+ @${REINPLACE_CMD} -e '/xpg4/d' ${WRKSRC}/configure.in
-.if ${OSVERSION} > 600006
-BROKEN= "Depends on libxpg4 which was removed from FreeBSD 6.0"
-.endif
+.include <bsd.port.pre.mk>
pre-install:
cd ${TOPDIR}/library/demos.jp && ${RM} -f *.orig
diff --git a/japanese/xyagamo/Makefile b/japanese/xyagamo/Makefile
index c70baaa2cb68..37eaa5956ac7 100644
--- a/japanese/xyagamo/Makefile
+++ b/japanese/xyagamo/Makefile
@@ -15,18 +15,16 @@ COMMENT= Japanese version of a four player mahjong game
USE_X_PREFIX= YES
USE_XPM= yes
+USE_REINPLACE= yes
MAN6= xyagamo.6
MANLANG= ja
MAN6COMPRESSED= no
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} > 600006
-BROKEN= "Depends on libxpg4 which was removed from FreeBSD 6.0"
-.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's/-lxpg4//' ${WRKSRC}/src/Makefile
pre-build:
@cd ${BUILD_WRKSRC}/src; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} depend
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>