Bug 177324

Summary: [PATCH] graphics/hobbes-icons-xpm: Convert to OptionsNG
Product: Ports & Packages Reporter: nemysis <nemysis>
Component: Individual Port(s)Assignee: Dirk Meyer <dinoex>
Status: Closed FIXED    
Severity: Affects Only Me CC: dinoex
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
hobbes-icons-xpm3-1.0_1.patch none

Description nemysis 2013-03-23 23:30:00 UTC
- Convert to OptionsNG
- Fix docs

Port maintainer (dinoex@FreeBSD.org) is cc'd.

Generated and tested manually, tested with port test, sent with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-03-23 23:30:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->dinoex

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-04-22 21:36:38 UTC
Author: dinoex
Date: Mon Apr 22 20:36:25 2013
New Revision: 316273
URL: http://svnweb.freebsd.org/changeset/ports/316273

Log:
  - use bsd.port.options.mk
  PR:		177324

Modified:
  head/graphics/hobbes-icons-xpm/Makefile

Modified: head/graphics/hobbes-icons-xpm/Makefile
==============================================================================
--- head/graphics/hobbes-icons-xpm/Makefile	Mon Apr 22 20:35:19 2013	(r316272)
+++ head/graphics/hobbes-icons-xpm/Makefile	Mon Apr 22 20:36:25 2013	(r316273)
@@ -16,18 +16,20 @@ NO_BUILD=	yes
 # Where it will be installed (change pkg/PLIST if you change this)
 LIBDIR=		${PREFIX}/include/X11/pixmaps
 
+.include <bsd.port.options.mk>
+
 do-install:
-	@${MKDIR} ${LIBDIR}
+	${MKDIR} ${LIBDIR}
 	${CP} -R ${WRKSRC}/* ${LIBDIR}
 	${CHOWN} -R ${BINOWN}:${BINGRP} ${LIBDIR}
 	-${RM} ${LIBDIR}/README
 	-${RM} ${LIBDIR}/readem.shar
 
+.if ${PORT_OPTIONS:MDOCS}
 post-install:
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-	@${INSTALL_SCRIPT} ${WRKSRC}/*.shar ${DOCSDIR}
+	${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
+	${INSTALL_SCRIPT} ${WRKSRC}/*.shar ${DOCSDIR}/
 .endif
 
 .include <bsd.port.mk>
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Dirk Meyer freebsd_committer freebsd_triage 2013-04-22 21:36:59 UTC
State Changed
From-To: open->closed


PORTDOCS does not work here, 
the share file should have different permissions.