aboutsummaryrefslogtreecommitdiffstats
path: root/www/libxpg4-ns/Makefile
diff options
context:
space:
mode:
authorsada <sada@FreeBSD.org>1999-04-05 02:09:57 +0800
committersada <sada@FreeBSD.org>1999-04-05 02:09:57 +0800
commitda6d44143f2a3b0c449adc906fc1c18c2b4b608a (patch)
treedc4ad66102ea28ee399d9117f57506f5e98f22a2 /www/libxpg4-ns/Makefile
parent2d6f9d74c9179969ae5940f983803af41ed1d66d (diff)
downloadfreebsd-ports-gnome-da6d44143f2a3b0c449adc906fc1c18c2b4b608a.tar.gz
freebsd-ports-gnome-da6d44143f2a3b0c449adc906fc1c18c2b4b608a.tar.zst
freebsd-ports-gnome-da6d44143f2a3b0c449adc906fc1c18c2b4b608a.zip
libxpg4 (aout) for Netscape Browser. This is against browser's locale bug.
Patches are created by <nagahama@yasuda.comm.waseda.ac.jp>. Refer to <URL:http://www.yasuda.comm.waseda.ac.jp/~nagahama/freebsd.html>.
Diffstat (limited to 'www/libxpg4-ns/Makefile')
-rw-r--r--www/libxpg4-ns/Makefile43
1 files changed, 43 insertions, 0 deletions
diff --git a/www/libxpg4-ns/Makefile b/www/libxpg4-ns/Makefile
new file mode 100644
index 000000000000..c4008be2ece8
--- /dev/null
+++ b/www/libxpg4-ns/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: libxpg4-ns
+# Version required: 3.1-R
+# Date created: 27 February 1999
+# Whom: sada
+#
+# $Id$
+#
+
+DISTNAME= libxpg4-3.1r
+PKGNAME= libxpg4-ns-3.1r
+CATEGORIES= japanese
+MASTER_SITES= ${MASTER_SITE_PORTS_JP} \
+ http://WWW.FreeBSD.ORG/~sada/distfiles/
+
+MAINTAINER= sada@FreeBSD.ORG
+
+MAKE_ENV+= OBJFORMAT=aout SHLIB_MAJOR=2 SHLIB_MINOR=0 \
+ LDDESTDIRENV=LIBRARY_PATH=${PREFIX}/lib/aout
+PORTOBJFORMAT= aout
+
+LIBDIR= ${PREFIX}/lib/aout
+SRCDIR= /usr/src
+
+pre-install:
+ ${MKDIR} ${LIBDIR}
+
+post-install:
+ ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${LIBDIR}
+
+extract-from-freebsd: # only for port maintainer.
+.if exists(/usr/src/lib)
+ ${RM} -rf ${WRKSRC}
+ ${MKDIR} ${WRKSRC}
+ tar cfC - ${SRCDIR}/lib/libc locale | tar xfC - ${WRKSRC}
+ ${CP} ${SRCDIR}/lib/libxpg4/Makefile ${WRKSRC}/
+.else
+ ${ECHO} You should INSTALL \"src/lib\" distribution"
+.endif
+
+private-distribution: # only for port maintainer.
+ tar czfC ${WRKDIR}/${DISTNAME}${EXTRACT_SUFX} ${WRKDIR} ${DISTNAME}
+
+.include <bsd.port.mk>