mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
- Support staging (it was easier to define a new do-install target
than further patching the source Makefile) - Add LICENSE (GPLv2) - Rename patch to reflect the file it applies to - Whitespace cleanup Approved by: portmgr (blanket approval)
This commit is contained in:
parent
08959d21d1
commit
5fb10ebe97
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=358340
@ -8,20 +8,25 @@ CATEGORIES= games ipv6
|
||||
MASTER_SITES= http://www.iagora.com/~espel/xtris/ \
|
||||
ftp://quatramaran.ens.fr/pub/orabidoo/
|
||||
|
||||
PATCH_SITES= ftp://ftp.42.org/pub/orphan/
|
||||
PATCH_SITES= ftp://ftp.42.org/pub/orphan/
|
||||
PATCHFILES= xtris-1.15-v6-19991218.diff.gz
|
||||
PATCH_DIST_STRIP= -p1
|
||||
|
||||
MAINTAINER= sec@42.org
|
||||
COMMENT= Multi-player version of a popular game for the X Window system
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
RESTRICTED= Possible trademark infringement
|
||||
WRKSRC= ${WRKDIR}/xtris
|
||||
USE_XORG= x11 xext
|
||||
|
||||
MAN6= xtris.6 xtserv.6 xtbot.6
|
||||
|
||||
MAKE_ENV= IPV6_CFLAGS="-DINET6"
|
||||
|
||||
NO_STAGE= yes
|
||||
do-install:
|
||||
.for i in xtbot xtris xtserv
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/${i}.6 ${STAGEDIR}${MAN6PREFIX}/man/man6
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,11 +1,11 @@
|
||||
--- Makefile.orig Mon Jan 17 13:33:15 2000
|
||||
+++ Makefile Mon Jan 17 13:36:11 2000
|
||||
--- ./Makefile.orig 2014-06-19 00:53:36.000000000 -0400
|
||||
+++ ./Makefile 2014-06-19 01:00:11.000000000 -0400
|
||||
@@ -8,27 +8,27 @@
|
||||
###################
|
||||
|
||||
# change this to your favorite ANSI C compiler
|
||||
-CC = gcc
|
||||
+CC? = gcc
|
||||
+CC ?= cc
|
||||
|
||||
# change this to the directory where you want the xtris binaries installed
|
||||
-BINDIR = /usr/local/bin
|
||||
@ -25,8 +25,8 @@
|
||||
# specify X11 cflags and libdir if your system needs it
|
||||
-XCFLAGS = #-I/usr/X11/include
|
||||
-XLIBDIR = #-L/usr/X11/lib
|
||||
+XCFLAGS = -I${PREFIX}/include
|
||||
+XLIBDIR = -L${PREFIX}/lib
|
||||
+XCFLAGS = -I${LOCALBASE}/include
|
||||
+XLIBDIR = -L${LOCALBASE}/lib
|
||||
|
||||
# IPv6 Settings
|
||||
-IPV6_CFLAGS = #-DINET6 #-I/usr/inet6/include
|
@ -1,3 +1,6 @@
|
||||
bin/xtbot
|
||||
bin/xtris
|
||||
bin/xtserv
|
||||
bin/xtbot
|
||||
man/man6/xtbot.6.gz
|
||||
man/man6/xtris.6.gz
|
||||
man/man6/xtserv.6.gz
|
||||
|
Loading…
Reference in New Issue
Block a user