Bug 177324 - [PATCH] graphics/hobbes-icons-xpm: Convert to OptionsNG
Summary: [PATCH] graphics/hobbes-icons-xpm: Convert to OptionsNG
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Dirk Meyer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-23 23:30 UTC by nemysis
Modified: 2013-04-22 21:40 UTC (History)
1 user (show)

See Also:


Attachments
hobbes-icons-xpm3-1.0_1.patch (1.81 KB, patch)
2013-03-23 23:30 UTC, nemysis
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 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 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 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.