aboutsummaryrefslogtreecommitdiff
path: root/graphics/linux-c6-png/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/linux-c6-png/Makefile')
-rw-r--r--graphics/linux-c6-png/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/graphics/linux-c6-png/Makefile b/graphics/linux-c6-png/Makefile
index eb8d77f28f02..c0ec35c86e2f 100644
--- a/graphics/linux-c6-png/Makefile
+++ b/graphics/linux-c6-png/Makefile
@@ -5,7 +5,7 @@ PORTNAME= png
PORTVERSION= 1.2.49
PORTREVISION= 3
CATEGORIES= graphics linux
-DISTNAME= lib${PORTNAME}-${PORTVERSION}-${RPMVERSION}
+DISTNAME= ${LINUX_NAME}-${PORTVERSION}-${RPMVERSION}
MAINTAINER= emulation@FreeBSD.org
COMMENT= RPM of the PNG lib (Linux CentOS ${LINUX_DIST_VER})
@@ -13,13 +13,12 @@ COMMENT= RPM of the PNG lib (Linux CentOS ${LINUX_DIST_VER})
CONFLICTS= linux-png-[0-9]* linux-f8-png-[0-9]* linux-f10-png-[0-9]*
LINUX_NAME= libpng
-ONLY_FOR_ARCHS= i386 amd64
RPMVERSION= 2.el6_7
-USE_LINUX= c6
-USE_LINUX_RPM= yes
+USES= linux:c6
USE_LDCONFIG= yes
+USE_LINUX_RPM= yes
-DOCSDIR= ${PREFIX}/usr/share/doc/libpng-${PORTVERSION}
+DOCSDIR= ${PREFIX}/usr/share/doc/${LINUX_NAME}-${PORTVERSION}
PORTDOCS= CHANGES LICENSE README TODO example.c libpng-1.2.49.txt CMakeLists.txt
DESCR= ${.CURDIR}/../${PORTNAME}/pkg-descr