Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Mar 2013 19:58:04 +0000 (UTC)
From:      Beech Rintoul <beech@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r315155 - head/graphics/imc
Message-ID:  <201303241958.r2OJw4al003129@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: beech
Date: Sun Mar 24 19:58:04 2013
New Revision: 315155
URL: http://svnweb.freebsd.org/changeset/ports/315155

Log:
  - Convert to OptionsNG
  - Makefile tweaks
  - Add license
  - Bump portrevision
  
  PR:		ports/177308
  Submitted by:	nemysis <nemysis@gmx.ch>

Deleted:
  head/graphics/imc/pkg-plist
Modified:
  head/graphics/imc/Makefile   (contents, props changed)

Modified: head/graphics/imc/Makefile
==============================================================================
--- head/graphics/imc/Makefile	Sun Mar 24 19:49:13 2013	(r315154)
+++ head/graphics/imc/Makefile	Sun Mar 24 19:58:04 2013	(r315155)
@@ -1,20 +1,17 @@
-# ex:ts=8
-# New ports collection makefile for:	imc
-# Date created:				Apr 30, 2002
-# Whom:					Ying-Chieh Liao <ijliao@FreeBSD.org>
-#
+# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
 # $FreeBSD$
-#
 
 PORTNAME=	imc
 PORTVERSION=	4.3
-PORTREVISION=	6
+PORTREVISION=	7
 CATEGORIES=	graphics
-MASTER_SITES=	http://users.skynet.be/Peter.Verthez/projects/imc/
+MASTER_SITES=	http://www.peterverthez.net/projects/imc/
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Image Compiler
 
+LICENSE=	GPLv2
+
 BUILD_DEPENDS=	p5-GD>=0:${PORTSDIR}/graphics/p5-GD \
 		p5-CGI.pm>=0:${PORTSDIR}/www/p5-CGI.pm
 RUN_DEPENDS:=	${BUILD_DEPENDS}
@@ -23,16 +20,32 @@ GNU_CONFIGURE=	yes
 USE_GMAKE=	yes
 USE_PERL5=	yes
 
-MAN1=		imc.1
+PLIST_FILES=	bin/${PORTNAME}
+MAN1=		${PORTNAME}.1
+
+PORTDOCS=	*
+
+DOCSRCDIR1=	${WRKSRC}
+DOC_FILES1=	AUTHORS ChangeLog NEWS README THANKS Todo
+
+DOCSRCDIR2=	${WRKSRC}/doc
+DOCSDIR2=	${DOCSDIR}/doc
+DOC_FILES2=	*.html *.ref *.txt
+
+PORTEXAMPLES=	*
+
+.include <bsd.port.options.mk>
 
 post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
-	${CP} -R ${WRKSRC}/doc/* ${DOCSDIR}
+	${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${DOCSDIR}
+	${MKDIR} ${DOCSDIR2}
+	${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${DOCSDIR2}
 .endif
-.if !defined(NOPORTEXAMPLES)
+.if ${PORT_OPTIONS:MEXAMPLES}
 	@${MKDIR} ${EXAMPLESDIR}
-	${CP} -R ${WRKSRC}/examples/* ${EXAMPLESDIR}
+	@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
 .endif
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303241958.r2OJw4al003129>