aboutsummaryrefslogtreecommitdiff
path: root/graphics/linux-libmng/Makefile
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2004-05-24 07:58:19 +0000
committerVolker Stolz <vs@FreeBSD.org>2004-05-24 07:58:19 +0000
commit3a08da400481deb3a421c1f2f632209bc2901a11 (patch)
tree4d9d5bc0e93f2a2e0679ab5570679727f687ed94 /graphics/linux-libmng/Makefile
parentdf38a4f4ecdbb74a028a1e6533c76e9815d589b8 (diff)
downloadports-3a08da400481deb3a421c1f2f632209bc2901a11.tar.gz
ports-3a08da400481deb3a421c1f2f632209bc2901a11.zip
Notes
Diffstat (limited to 'graphics/linux-libmng/Makefile')
-rw-r--r--graphics/linux-libmng/Makefile53
1 files changed, 53 insertions, 0 deletions
diff --git a/graphics/linux-libmng/Makefile b/graphics/linux-libmng/Makefile
new file mode 100644
index 000000000000..0b546fb0b4ec
--- /dev/null
+++ b/graphics/linux-libmng/Makefile
@@ -0,0 +1,53 @@
+# New ports collection makefile for: linux-libmng
+# Date created: 01/09/18
+# Whom: mranner@inode.at
+#
+# $FreeBSD$
+#
+
+PORTNAME= libmng
+PORTVERSION= 1.0.4
+CATEGORIES= graphics linux
+MASTER_SITES?= ${RPM_MIRRORS:S/__DIR__/${STDDIR}/g}
+PKGNAMEPREFIX= linux-
+DISTNAME= libmng-${PORTVERSION}-1.${MACHINE_ARCH}
+EXTRACT_SUFX= .rpm
+EXTRACT_ONLY= yes
+
+MAINTAINER= mranner@inode.at
+COMMENT= RPM of libmng
+
+BUILD_DEPENDS= rpm:${PORTSDIR}/archivers/rpm
+RUN_DEPENDS= ${LINUXBASE}/usr/lib/libjpeg.so.6:${PORTSDIR}/graphics/linux-jpeg
+
+BASEVERSION= 8.0
+USE_LINUX_RPM= yes
+USE_LINUX_PREFIX= yes
+ONLY_FOR_ARCHS= i386
+
+DIST_SUBDIR= rpm
+NO_BUILD= yes
+NO_FILTER_SHLIBS= yes
+PLIST?= ${PKGDIR}/pkg-plist.${MACHINE_ARCH}
+MD5_FILE?= ${MASTERDIR}/distinfo.${MACHINE_ARCH}
+
+# Let's avoid hardcoding 'en' as the language.
+LANG?= en
+RPM_MIRRORS= \
+ ftp://ftp.redhat.com/pub/redhat/__DIR__/ \
+ ftp://ftp.nluug.nl/site/ftp.redhat.com/redhat/__DIR__/ \
+ ftp://ftp.mirror.ac.uk/sites/ftp.redhat.com/pub/redhat/__DIR__/
+STDDIR= linux/${BASEVERSION}/${LANG}/os/${MACHINE_ARCH}/RedHat/RPMS
+UPDDIR= linux/updates/${BASEVERSION}/${LANG}/os/${MACHINE_ARCH}
+DBPATH= /var/lib/rpm
+RPMFLAGS= --ignoreos --root ${PREFIX} --dbpath ${DBPATH} \
+ --nodeps --replacepkgs
+RPMDIR= ${DISTDIR}/${DIST_SUBDIR}
+
+do-install:
+ @for R in ${DISTFILES}; do \
+ ${ECHO_MSG} $$R; \
+ rpm -U ${RPMFLAGS} ${RPMDIR}/$$R || true ; \
+ done
+
+.include <bsd.port.mk>