svn commit: r328209 - head/x11/xautomation

Rusmir Dusko nemysis at FreeBSD.org
Tue Sep 24 22:45:31 UTC 2013


Author: nemysis
Date: Tue Sep 24 22:45:30 2013
New Revision: 328209
URL: http://svnweb.freebsd.org/changeset/ports/328209

Log:
  - Change maintainer email gmx.ch --> FreeBSD.org
  - Add license (GPLv2)
  - Use the new format for LIB_DEPENDS
  - Add docs and Option
  
  Approved by:	wg/pawel (mentors)

Modified:
  head/x11/xautomation/Makefile   (contents, props changed)

Modified: head/x11/xautomation/Makefile
==============================================================================
--- head/x11/xautomation/Makefile	Tue Sep 24 22:26:44 2013	(r328208)
+++ head/x11/xautomation/Makefile	Tue Sep 24 22:45:30 2013	(r328209)
@@ -6,10 +6,12 @@ PORTVERSION=	1.07
 CATEGORIES=	x11
 MASTER_SITES=	http://hoopajoo.net/static/projects/
 
-MAINTAINER=	nemysis at gmx.ch
+MAINTAINER=	nemysis at FreeBSD.org
 COMMENT=	Control X from the command line for scripts
 
-LIB_DEPENDS=	png15:${PORTSDIR}/graphics/png
+LICENSE=	GPLv2
+
+LIB_DEPENDS=	libpng15.so:${PORTSDIR}/graphics/png
 
 USE_XORG=	xtst
 GNU_CONFIGURE=	yes
@@ -23,5 +25,17 @@ MAN1=		pat2ppm.1 patextract.1 png2pat.1 
 		visgrep.1 xmousepos.1 xte.1
 MAN7=		xautomation.7
 
+PORTDOCS=	AUTHORS ChangeLog README
+
+OPTIONS_DEFINE=	DOCS
+
 NO_STAGE=	yes
+.include <bsd.port.options.mk>
+
+post-install:
+.if ${PORT_OPTIONS:MDOCS}
+	@${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+.endif
+
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list