diff options
author | nemysis <nemysis@FreeBSD.org> | 2014-07-28 19:38:04 +0000 |
---|---|---|
committer | nemysis <nemysis@FreeBSD.org> | 2014-07-28 19:38:04 +0000 |
commit | 7c66bb2bccf41a3df008f1a736582194cab19f94 (patch) | |
tree | 2f33903fac134a7277d150ba9e7711f6bc5d9fdd | |
parent | b9bf1cafef0c4703782b55e5d0d1d47ddb81f7f9 (diff) | |
download | FreeBSD-ports-7c66bb2bccf41a3df008f1a736582194cab19f94.zip FreeBSD-ports-7c66bb2bccf41a3df008f1a736582194cab19f94.tar.gz |
- Update to 1.9, announce message:
Add a desktop file. Port fix from the BSD maintainer
- Add WRKSRC=${WRKDIR}/${PORTNAME}- is bad packaged
- Remove Desktop entry file, use supplied desktop files
- Remove obsolete patch
-rw-r--r-- | games/galaxis/Makefile | 8 | ||||
-rw-r--r-- | games/galaxis/distinfo | 4 | ||||
-rw-r--r-- | games/galaxis/files/galaxis.desktop | 10 | ||||
-rw-r--r-- | games/galaxis/files/patch-galaxis.c | 20 |
4 files changed, 6 insertions, 36 deletions
diff --git a/games/galaxis/Makefile b/games/galaxis/Makefile index 7ed7a50..bbb2880 100644 --- a/games/galaxis/Makefile +++ b/games/galaxis/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= galaxis -PORTVERSION= 1.8 -PORTREVISION= 1 +PORTVERSION= 1.9 CATEGORIES= games MASTER_SITES= http://www.catb.org/~esr/galaxis/ \ SF/nemysisfreebsdp/games/:icons @@ -16,6 +15,8 @@ COMMENT= Clone of the nifty little Macintosh game LICENSE= BSD3CLAUSE +WRKSRC= ${WRKDIR}/${PORTNAME}- + USES= gmake MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -DNDEBUG" ALL_TARGET= ${PORTNAME} @@ -26,12 +27,11 @@ PLIST_FILES= bin/${PORTNAME} \ share/pixmaps/${PORTNAME}.png PORTDOCS= README - OPTIONS_DEFINE= DOCS do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ - ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR} + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR} ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.6 ${STAGEDIR}${MAN6PREFIX}/man/man6/ diff --git a/games/galaxis/distinfo b/games/galaxis/distinfo index 63a4875..930ad43 100644 --- a/games/galaxis/distinfo +++ b/games/galaxis/distinfo @@ -1,4 +1,4 @@ -SHA256 (galaxis-1.8.tar.gz) = bc36c7e5b1e1d96e5a8c6cdb117b3891833a99e99df709c5531c7d44009a8adc -SIZE (galaxis-1.8.tar.gz) = 8962 +SHA256 (galaxis-1.9.tar.gz) = 14dea62d8148f3eb278e2a504981a5de17e87d4dd39177531a6cb9bccabc5eb7 +SIZE (galaxis-1.9.tar.gz) = 11502 SHA256 (galaxis.png) = 628880218f4979e82a673a8843126dea745526e1bdf78bce0cfc05b93101bc07 SIZE (galaxis.png) = 1997 diff --git a/games/galaxis/files/galaxis.desktop b/games/galaxis/files/galaxis.desktop deleted file mode 100644 index aa3903d..0000000 --- a/games/galaxis/files/galaxis.desktop +++ /dev/null @@ -1,10 +0,0 @@ -[Desktop Entry] -Type=Application -Version=1.0 -Name=Galaxis -GenericName=Galaxis game -Comment=Clone of the nifty little Macintosh game -Icon=galaxis -Exec=galaxis -Categories=Game;ArcadeGame; -Terminal=true diff --git a/games/galaxis/files/patch-galaxis.c b/games/galaxis/files/patch-galaxis.c deleted file mode 100644 index 8a923b4..0000000 --- a/games/galaxis/files/patch-galaxis.c +++ /dev/null @@ -1,20 +0,0 @@ ---- ./galaxis.c.orig 2010-10-13 12:13:31.000000000 +0200 -+++ ./galaxis.c 2013-12-22 12:01:31.000000000 +0100 -@@ -15,6 +15,8 @@ - #include <assert.h> - #include <string.h> - #include <stdlib.h> -+#include <time.h> -+#include <unistd.h> - - #ifndef A_UNDERLINE /* BSD curses */ - #define beep() write(1,"\007",1); -@@ -644,7 +646,7 @@ - } - } - --main(argc, argv) -+int main(argc, argv) - int argc; - char *argv[]; - { |