svn commit: r335015 - head/games/gottet

Rusmir Dusko nemysis at FreeBSD.org
Wed Nov 27 13:52:01 UTC 2013


Author: nemysis
Date: Wed Nov 27 13:52:00 2013
New Revision: 335015
URL: http://svnweb.freebsd.org/changeset/ports/335015

Log:
  - Change Makefile header
  - Change maintainer email to @FreeBSD.org
  - Add DOCS Option
  - Support STAGEDIR
  - Change pkg-plist, remove mtree
  
  Approved by:	pawel / wg (mentors, implicit)

Modified:
  head/games/gottet/Makefile
  head/games/gottet/pkg-plist

Modified: head/games/gottet/Makefile
==============================================================================
--- head/games/gottet/Makefile	Wed Nov 27 13:44:28 2013	(r335014)
+++ head/games/gottet/Makefile	Wed Nov 27 13:52:00 2013	(r335015)
@@ -1,4 +1,4 @@
-# Created by: nemysis at gmx.ch
+# Created by: nemysis <nemysis at gmx.ch>
 # $FreeBSD$
 
 PORTNAME=	gottet
@@ -7,7 +7,7 @@ CATEGORIES=	games
 MASTER_SITES=	http://gottcode.org/${PORTNAME}/
 EXTRACT_SUFX=	-src.tar.bz2
 
-MAINTAINER=	nemysis at gmx.ch
+MAINTAINER=	nemysis at FreeBSD.org
 COMMENT=	Tetris clone
 
 LICENSE=	GPLv3
@@ -19,15 +19,15 @@ INSTALLS_ICONS=	yes
 
 PORTDOCS=	CREDITS ChangeLog
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS
+
 .include <bsd.port.options.mk>
 
 post-install:
-	${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png ${PREFIX}/share/pixmaps/
+	${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
+		    ${STAGEDIR}${PREFIX}/share/pixmaps/
 
-.if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
-.endif
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/games/gottet/pkg-plist
==============================================================================
--- head/games/gottet/pkg-plist	Wed Nov 27 13:44:28 2013	(r335014)
+++ head/games/gottet/pkg-plist	Wed Nov 27 13:52:00 2013	(r335015)
@@ -15,25 +15,5 @@ share/icons/hicolor/64x64/apps/gottet.pn
 share/icons/hicolor/scalable/apps/gottet.svg
 share/pixmaps/gottet.png
 share/pixmaps/gottet.xpm
- at dirrmtry share/icons/hicolor/scalable/apps
- at dirrmtry share/icons/hicolor/scalable
- at dirrmtry share/icons/hicolor/64x64/apps
- at dirrmtry share/icons/hicolor/64x64
- at dirrmtry share/icons/hicolor/48x48/apps
- at dirrmtry share/icons/hicolor/48x48
- at dirrmtry share/icons/hicolor/32x32/apps
- at dirrmtry share/icons/hicolor/32x32
- at dirrmtry share/icons/hicolor/256x256/apps
- at dirrmtry share/icons/hicolor/256x256
- at dirrmtry share/icons/hicolor/24x24/apps
- at dirrmtry share/icons/hicolor/24x24
- at dirrmtry share/icons/hicolor/22x22/apps
- at dirrmtry share/icons/hicolor/22x22
- at dirrmtry share/icons/hicolor/16x16/apps
- at dirrmtry share/icons/hicolor/16x16
- at dirrmtry share/icons/hicolor/128x128/apps
- at dirrmtry share/icons/hicolor/128x128
- at dirrmtry share/icons/hicolor
- at dirrmtry share/icons
 @dirrm %%DATADIR%%/translations
 @dirrm %%DATADIR%%


More information about the svn-ports-head mailing list