svn commit: r314320 - head/graphics/metapixel

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Fri Mar 15 17:52:37 UTC 2013


Author: sunpoet
Date: Fri Mar 15 17:52:36 2013
New Revision: 314320
URL: http://svnweb.freebsd.org/changeset/ports/314320

Log:
  - Remove LICENSE_FILE for well-known licenses
  - Fix LIB_DEPENDS and remove unnecessary dependencies (USE_XORG) [1]
  - Bump PORTREVISION for dependency change
  - Cosmetic change
  
  Discussed with:	pawel [1]

Modified:
  head/graphics/metapixel/Makefile   (contents, props changed)

Modified: head/graphics/metapixel/Makefile
==============================================================================
--- head/graphics/metapixel/Makefile	Fri Mar 15 17:14:10 2013	(r314319)
+++ head/graphics/metapixel/Makefile	Fri Mar 15 17:52:36 2013	(r314320)
@@ -3,7 +3,7 @@
 
 PORTNAME=	metapixel
 PORTVERSION=	1.0.2
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	graphics
 MASTER_SITES=	http://www.complang.tuwien.ac.at/schani/metapixel/files/ \
 		http://mirror.roe.ch/dist/metapixel/
@@ -11,27 +11,27 @@ MASTER_SITES=	http://www.complang.tuwien
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Photomosaic generator
 
-LICENSE=	GPLv2 # (or later)
-LICENSE_FILE=	${WRKSRC}/COPYING
+LICENSE=	GPLv2
 
-LIB_DEPENDS=	pthread-stubs:${PORTSDIR}/devel/libpthread-stubs \
-		gif:${PORTSDIR}/graphics/giflib \
+LIB_DEPENDS=	gif:${PORTSDIR}/graphics/giflib \
 		jpeg:${PORTSDIR}/graphics/jpeg \
-		png15:${PORTSDIR}/graphics/png \
-		xcb:${PORTSDIR}/x11/libxcb
+		png15:${PORTSDIR}/graphics/png
 
-USE_GMAKE=	yes
-USE_XORG=	ice sm x11 xau xdmcp
-MAKE_JOBS_SAFE=	yes
+OPTIONS_DEFINE=	DOCS EXAMPLES
 
 CPPFLAGS+=	$$(libpng-config --I_opts) -I${LOCALBASE}/include -I.
 LDFLAGS+=	$$(libpng-config --L_opts) -L${LOCALBASE}/lib
+MAKE_JOBS_SAFE=	yes
+USE_GMAKE=	yes
 
 MAN1=		metapixel.1
-PORTDOCS=	README NEWS
+PLIST_FILES=	bin/metapixel \
+		bin/metapixel-convert \
+		bin/metapixel-imagesize \
+		bin/metapixel-prepare \
+		bin/metapixel-sizesort
+PORTDOCS=	NEWS README
 PORTEXAMPLES=	metapixelrc
-PLIST_FILES=	bin/metapixel bin/metapixel-convert bin/metapixel-imagesize \
-		bin/metapixel-prepare bin/metapixel-sizesort
 
 .include <bsd.port.options.mk>
 
@@ -39,19 +39,17 @@ post-patch:
 	@${RM} ${WRKSRC}/getopt.h
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/metapixel ${PREFIX}/bin
-	${INSTALL_PROGRAM} ${WRKSRC}/metapixel-convert ${PREFIX}/bin
-	${INSTALL_PROGRAM} ${WRKSRC}/metapixel-imagesize ${PREFIX}/bin
-	${INSTALL_SCRIPT} ${WRKSRC}/metapixel-prepare ${PREFIX}/bin
-	${INSTALL_SCRIPT} ${WRKSRC}/metapixel-sizesort ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/metapixel.1 ${MANPREFIX}/man/man1
+	cd ${WRKSRC}/ && \
+		${INSTALL_PROGRAM} metapixel metapixel-convert metapixel-imagesize ${PREFIX}/bin/ && \
+		${INSTALL_SCRIPT} metapixel-prepare metapixel-sizesort ${PREFIX}/bin/ && \
+		${INSTALL_MAN} metapixel.1 ${PREFIX}/man/man1/
 .if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
+	${MKDIR} ${DOCSDIR}/
+	cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
 .endif
 .if ${PORT_OPTIONS:MEXAMPLES}
-	@${MKDIR} ${EXAMPLESDIR}
-	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTEXAMPLES} ${EXAMPLESDIR}
+	${MKDIR} ${EXAMPLESDIR}/
+	cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTEXAMPLES} ${EXAMPLESDIR}/
 .endif
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list