Date: Sat, 1 Feb 2014 16:31:46 +0000 (UTC) From: Thomas Zander <riggs@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r342185 - in head/games/xskat: . files Message-ID: <201402011631.s11GVkRs056508@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: riggs Date: Sat Feb 1 16:31:45 2014 New Revision: 342185 URL: http://svnweb.freebsd.org/changeset/ports/342185 QAT: https://qat.redports.org/buildarchive/r342185/ Log: - Remove build dependency on imake - Remove support for original Altenburger card set (no valid license for these files anymore, author removed the download) - Stagify - Add LICENSE - Overall port Makefile simplification Approved by: mentor (thierry) Added: head/games/xskat/files/ head/games/xskat/files/patch-Makefile (contents, props changed) Modified: head/games/xskat/Makefile Modified: head/games/xskat/Makefile ============================================================================== --- head/games/xskat/Makefile Sat Feb 1 16:29:36 2014 (r342184) +++ head/games/xskat/Makefile Sat Feb 1 16:31:45 2014 (r342185) @@ -6,33 +6,30 @@ PORTVERSION= 4.0 PORTREVISION= 2 CATEGORIES= games MASTER_SITES= http://www.xskat.de/ -DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= Play the card game Skat -.if defined(WITH_ALTENBURGER_CARDS) -DISTFILES+= xskat-cards.tar.gz -RESTRICTED= The altenburger card file is NOT freely redistributable! -.endif +LICENSE= unknown +LICENSE_NAME= xskat license clause +LICENSE_FILE= ${WRKSRC}/README +LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept -USES= imake USE_XORG= x11 -MAN1= xskat.1 xskat-de.1 -PLIST_FILES= bin/xskat +PLIST_FILES= bin/xskat \ + man/man1/xskat.1.gz \ + man/man1/xskat-de.1.gz -NO_STAGE= yes -pre-fetch: -.if !defined(WITH_ALTENBURGER_CARDS) - @${ECHO} - @${ECHO} "You can compile xskat with the beautiful original" - @${ECHO} "Altenburger card set by setting WITH_ALTENBURGER_CARDS" - @${ECHO} -.endif +CFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib -lX11 post-patch: -.if defined(WITH_ALTENBURGER_CARDS) - cd ${WRKSRC}; ${CP} ../xskat-cards.c cards.c -.endif + ${MV} ${WRKSRC}/xskat.man ${WRKSRC}/xskat.1 + ${MV} ${WRKSRC}/xskat-de.man ${WRKSRC}/xskat-de.1 + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/xskat ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/xskat.1 ${STAGEDIR}${PREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/xskat-de.1 ${STAGEDIR}${PREFIX}/man/man1 .include <bsd.port.mk> Added: head/games/xskat/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/xskat/files/patch-Makefile Sat Feb 1 16:31:45 2014 (r342185) @@ -0,0 +1,20 @@ +--- Makefile.orig 2000-03-08 20:31:24.000000000 +0100 ++++ Makefile 2014-02-01 13:26:41.616864659 +0100 +@@ -16,8 +16,6 @@ + # where x.y is the version of the original program + # and z is an arbitrary suffix. + +-CFLAGS = +-LDFLAGS = -L/usr/X11R6/lib -lX11 + # perhaps you need one of: -lsocket -lnsl + + #DEFL = -DDEFAULT_LANGUAGE=\"german\" +@@ -28,6 +26,8 @@ + SHELL = /bin/sh + OBJECTS = skat.o ramsch.o null.o bitmaps.o xio.o xdial.o irc.o text.o + ++all: xskat ++ + xskat: $(OBJECTS) + $(CC) $(OBJECTS) $(LDFLAGS) -o $@ +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402011631.s11GVkRs056508>