1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

- Fix MASTER_SITES

- Remove redundant LIB_DEPENDS
- Support CC/CFLAGS properly

PR:		17165
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
This commit is contained in:
Michael Haro 2000-04-01 01:02:31 +00:00
parent b0e4d6b14a
commit be2bcf2f1b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=27214
2 changed files with 24 additions and 12 deletions

View File

@ -9,23 +9,22 @@
DISTNAME= xvmines-1.0
CATEGORIES= games
MASTER_SITES= ftp://ftp.csd.uch.gr/pub/X11/games/ \
ftp://ftp.cdrom.com/pub/X11/R5contrib/ \
ftp://ftp.gwdg.de/pub/x11/x.org/R5contrib/
ftp://ftp.x.org/R5contrib/ \
ftp://ftp.freesoftware.com/pub/X11/R5contrib/
EXTRACT_SUFX= .tar.Z
MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= xview.3:${PORTSDIR}/x11-toolkits/xview \
olgx.3:${PORTSDIR}/x11-toolkits/xview
LIB_DEPENDS= xview.3:${PORTSDIR}/x11-toolkits/xview
USE_IMAKE= yes
MAN6= xvmines.6
MANCOMPRESSED= no
do-install:
@ ${INSTALL_PROGRAM} ${WRKSRC}/xvmines ${PREFIX}/bin
@ ${INSTALL_DATA} ${WRKSRC}/xvmines.man ${PREFIX}/man/man6/xvmines.6
@ ${MKDIR} ${PREFIX}/share/doc/xvmines
@ ${INSTALL_DATA} ${WRKSRC}/Copyright ${PREFIX}/share/doc/xvmines
${INSTALL_PROGRAM} ${WRKSRC}/xvmines ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/xvmines.man ${PREFIX}/man/man6/xvmines.6
@${MKDIR} ${PREFIX}/share/doc/xvmines
${INSTALL_DATA} ${WRKSRC}/Copyright ${PREFIX}/share/doc/xvmines
.include <bsd.port.mk>

View File

@ -1,9 +1,22 @@
--- Imakefile Sun Jun 27 10:05:51 1993
+++ /home/andy/tmp/wrk/Imakefile Fri Mar 20 00:45:31 1998
@@ -1,4 +1,5 @@
--- Imakefile.orig Sun Jun 27 19:05:51 1993
+++ Imakefile Fri Mar 3 08:07:52 2000
@@ -1,7 +1,8 @@
-WHERE :sh = (tmp=`echo /usr/openwin`;echo ${OPENWINHOME:=$tmp})
+#WHERE :sh = (tmp=`echo /usr/openwin`;echo ${OPENWINHOME:=$tmp})
+WHERE=${X11BASE}
#CC = gcc
CC = cc
-CC = cc
+XCOMM CC = cc
INCLUDES = -I${WHERE}/include
LOCAL_LIBRARIES = -L${WHERE}/lib
@@ -14,7 +15,7 @@
OBJS = xvmines.o play.o
#CDEBUGFLAGS = -g
-CDEBUGFLAGS = -O4
+XCOMM CDEBUGFLAGS = -O4
ComplexProgramTarget(xvmines)