1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00

* Update to 1.2.0

* Pass CFLAGS to build properly
* Remove libgnugetopt dependency (getopt.c/getopt1.c now included)

PR:		15103
Submitted by:	maintainer
This commit is contained in:
Steve Price 1999-11-26 22:38:45 +00:00
parent 0d8aabec62
commit 30ae16bebe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=23421
3 changed files with 11 additions and 17 deletions

View File

@ -1,26 +1,23 @@
# New ports collection makefile for: speyes
# Version required: 1.0.0
# Version required: 1.2.0
# Date created: 03 November 1999
# Whom: Chris D. Faulhaber <jedgar@fxp.org>
#
# $FreeBSD$
#
DISTNAME= speyes-1.0.0
DISTNAME= speyes-1.2.0
CATEGORIES= games
MASTER_SITES= http://www.halcyon.com/amalmin/speyes/
MAINTAINER= jedgar@fxp.org
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm \
gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
NO_INSTALL_MANPAGES= yes
USE_IMAKE= yes
pre-configure:
@${MV} ${WRKSRC}/Imakefile ${WRKSRC}/Imakefile.orig
@${SED} -e 's|LOCALBASE|${LOCALBASE}|' \
< ${WRKSRC}/Imakefile.orig > ${WRKSRC}/Imakefile
@${PERL} -pi.orig -e 's:__CFLAGS__:${CFLAGS}:g' ${WRKSRC}/Imakefile
.include <bsd.port.mk>

View File

@ -1 +1 @@
MD5 (speyes-1.0.0.tar.gz) = 1fe85518efebceb559ca62c3e4ee2408
MD5 (speyes-1.2.0.tar.gz) = 9b287dc3d074886772aea4af7531a6d2

View File

@ -1,13 +1,10 @@
--- Imakefile.orig Sat Oct 30 00:31:02 1999
+++ Imakefile Wed Nov 3 08:28:28 1999
@@ -2,7 +2,9 @@
--- Imakefile.orig Thu Nov 4 19:43:09 1999
+++ Imakefile Fri Nov 26 17:17:54 1999
@@ -4,6 +4,7 @@
SYS_LIBRARIES = MathLibrary
DEPLIBS = $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB)
-LOCAL_LIBRARIES = $(XMULIB) $(XTOOLLIB) $(XLIB) $(XPMLIB)
+LOCAL_LIBRARIES = $(XMULIB) $(XTOOLLIB) $(XLIB) $(XPMLIB) -lgnugetopt
+EXTRA_INCLUDES = -ILOCALBASE/include
+LOCAL_LDFLAGS = -LLOCALBASE/lib
LOCAL_LIBRARIES = $(XMULIB) $(XTOOLLIB) $(XLIB) $(XPMLIB)
+CDEBUGFLAGS = __CFLAGS__
SRCS = speyes.c
OBJS = speyes.o
OBJS = speyes.o getopt.o getopt1.o