aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/linux-gtk/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'chinese/linux-gtk/Makefile')
-rw-r--r--chinese/linux-gtk/Makefile53
1 files changed, 53 insertions, 0 deletions
diff --git a/chinese/linux-gtk/Makefile b/chinese/linux-gtk/Makefile
new file mode 100644
index 00000000000..58ff3e23ac0
--- /dev/null
+++ b/chinese/linux-gtk/Makefile
@@ -0,0 +1,53 @@
+# New ports collection makefile for: zh-linux-gtk
+# Date created: 25 Oct 2000
+# Whom: Jing-Tang Keith Jang <keith@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= linux-gtk
+PORTVERSION= 1.2.6
+CATEGORIES?= x11-toolkits linux
+MASTER_SITES= ftp://cle.linux.org.tw/pub/CLE/stable/v0.9p1/i386/RedHat/RPMS/ \
+ ftp://freebsd.sinica.edu.tw/pub/keith/zh-rpm/
+DISTFILES= gtk+-1.2.6-7CLE.i386.rpm
+
+MAINTAINER= keith@FreeBSD.org
+
+BUILD_DEPENDS= rpm:${PORTSDIR}/misc/rpm
+RUN_DEPENDS= /compat/linux/CLE-0.9p1:${PORTSDIR}/chinese/cle_base
+
+DIST_SUBDIR= zh-rpm
+EXTRACT_ONLY=
+NO_BUILD= yes
+NO_FILTER_SHLIBS= yes
+NO_MTREE= yes
+ONLY_FOR_ARCHS= i386
+PREFIX= /compat/linux
+
+DBPATH= /var/lib/rpm
+RPMFLAGS= --ignoreos --root ${PREFIX} --dbpath ${DBPATH} \
+ --nodeps --replacepkgs
+RPMDIR= ${DISTDIR}/${DIST_SUBDIR}
+
+REMOVE_DIRS= /usr/share/themes/Default /usr/share/themes \
+ /usr/share/locale/wa/LC_MESSAGES /usr/share/locale/wa \
+ /usr/share/locale/uk/LC_MESSAGES /usr/share/locale/uk \
+ /usr/share/locale/ro/LC_MESSAGES /usr/share/locale/ro \
+ /usr/share/locale/lt/LC_MESSAGES /usr/share/locale/lt \
+ /usr/share/locale/hu/LC_MESSAGES /usr/share/locale/hu \
+ /usr/share/locale/hr/LC_MESSAGES /usr/share/locale/hr \
+ /usr/share/locale/ga/LC_MESSAGES /usr/share/locale/ga \
+ /usr/share/locale/eu/LC_MESSAGES /usr/share/locale/eu \
+ /usr/share/locale/et/LC_MESSAGES /usr/share/locale/et \
+ /usr/share/locale/da/LC_MESSAGES /usr/share/locale/da \
+ /usr/share/locale/ca/LC_MESSAGES /usr/share/locale/ca
+
+do-install:
+ @${ECHO} ${DISTFILES}
+ @rpm -U ${RPMFLAGS} ${RPMDIR}/${DISTFILES}
+ @for D in ${REMOVE_DIRS}; do \
+ ${RM} -rf ${PREFIX}/$$D; \
+ done
+
+.include <bsd.port.mk>