[Midnightbsd-cvs] mports [17051] trunk/graphics/xli: fix man page install

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Sep 13 22:29:25 EDT 2014


Revision: 17051
          http://svnweb.midnightbsd.org/mports/?rev=17051
Author:   laffer1
Date:     2014-09-13 22:29:24 -0400 (Sat, 13 Sep 2014)
Log Message:
-----------
fix man page install

Modified Paths:
--------------
    trunk/graphics/xli/Makefile

Removed Paths:
-------------
    trunk/graphics/xli/pkg-plist

Modified: trunk/graphics/xli/Makefile
===================================================================
--- trunk/graphics/xli/Makefile	2014-09-14 02:25:08 UTC (rev 17050)
+++ trunk/graphics/xli/Makefile	2014-09-14 02:29:24 UTC (rev 17051)
@@ -2,9 +2,9 @@
 
 PORTNAME=	xli
 PORTVERSION=	1.17.0
-PORTREVISION=	13
+PORTREVISION=	14
 CATEGORIES=	graphics
-MASTER_SITES=	${MASTER_SITE_DEBIAN}
+MASTER_SITES=	DEBIAN
 MASTER_SITE_SUBDIR=	pool/main/x/${PORTNAME}
 DISTNAME=	xli_${PORTVERSION}+${XLI_SNAPVER:C/-//g}.orig
 
@@ -11,19 +11,28 @@
 MAINTAINER=	ports at MidnightBSD.org
 COMMENT=	Utilities to display images in X11
 LICENSE=	unknown 
-LIB_DEPENDS=	png15:${PORTSDIR}/graphics/png \
-		jpeg.11:${PORTSDIR}/graphics/jpeg
 
+LIB_DEPENDS=	libpng15.so:${PORTSDIR}/graphics/png \
+		libjpeg.so:${PORTSDIR}/graphics/jpeg
+
+CONFLICTS_INSTALL=	xloadimage-*
+
 FAKE_MAKEARGS+=	DESTDIR=${FAKE_DESTDIR}
 USE_XORG=	xi
 USE_GCC=	any
-USE_IMAKE=	yes
+USES=		imake
 WRKSRC=		${WRKDIR}/xli-${XLI_SNAPVER}
 
-MAN1=		xli.1 xlito.1
-MLINKS=		xli.1 xview.1 xli.1 xsetbg.1
-PLIST_FILES=	bin/xli bin/xlito bin/xview bin/xsetbg lib/X11/app-defaults/Xli
+PLIST_FILES=	bin/xli bin/xlito bin/xview bin/xsetbg \
+		lib/X11/app-defaults/Xli man/man1/xli.1.gz \
+		man/man1/xlito.1.gz man/man1/xview.1.gz man/man1/xsetbg.1.gz
 
 XLI_SNAPVER=	2006-11-10
 
+post-install:
+	${LN} -s ${MANPREFIX}/man/man1/xli.1.gz \
+		${MANPREFIX}/man/man1/xview.1.gz
+	${LN} -s ${MANPREFIX}/man/man1/xli.1.gz \
+		${MANPREFIX}/man/man1/xsetbg.1.gz
+
 .include <bsd.port.mk>

Deleted: trunk/graphics/xli/pkg-plist
===================================================================
--- trunk/graphics/xli/pkg-plist	2014-09-14 02:25:08 UTC (rev 17050)
+++ trunk/graphics/xli/pkg-plist	2014-09-14 02:29:24 UTC (rev 17051)
@@ -1,8 +0,0 @@
- at comment $MidnightBSD$
-bin/xli
-bin/xlito
-bin/xview
-bin/xsetbg
-lib/X11/app-defaults/Xli
- at dirrmtry lib/X11/app-defaults
- at dirrmtry lib/X11



More information about the Midnightbsd-cvs mailing list