aboutsummaryrefslogtreecommitdiff
path: root/x11/blast
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2000-12-11 03:00:45 +0000
committerSteve Price <steve@FreeBSD.org>2000-12-11 03:00:45 +0000
commitc02f0954c3777011ab72de1674b3aa38e65e6b4c (patch)
treeef303a40e7f28e154647d89ce31b5f5f029cb635 /x11/blast
parent0c8e320e647616e8ed5e98447a59ab5d18efd4a4 (diff)
downloadports-c02f0954c3777011ab72de1674b3aa38e65e6b4c.tar.gz
ports-c02f0954c3777011ab72de1674b3aa38e65e6b4c.zip
- Support CC/CFLAGS/X11BASE properly
PR: 23279 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Notes
Notes: svn path=/head/; revision=35870
Diffstat (limited to 'x11/blast')
-rw-r--r--x11/blast/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/x11/blast/Makefile b/x11/blast/Makefile
index d77c0ca54d6d..95e87fcbc44a 100644
--- a/x11/blast/Makefile
+++ b/x11/blast/Makefile
@@ -1,4 +1,4 @@
-# New ports collection makefile for: blast-1.0
+# New ports collection makefile for: blast
# Date created: 9 Jul 1996
# Whom: searle
#
@@ -11,19 +11,19 @@ CATEGORIES= x11
MASTER_SITES= ftp://hpux.csc.liv.ac.uk/hpux/X11/Demos/blast-1.0/ \
ftp://ftp.univie.ac.at/systems/hpux/hpux/X11/Demos/blast-1.0/ \
ftp://hpftp.cict.fr/hpux/X11/Demos/blast-1.0/
-DISTNAME= ${PKGNAME}-ss-10.20
+DISTNAME= ${PORTNAME}-${PORTVERSION}-ss-10.20
MAINTAINER= jseger@FreeBSD.org
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_X_PREFIX= yes
MAN1= blast.1
-WRKSRC= ${WRKDIR}/blast-1.0
do-build:
- cc $(WRKSRC)/blast.c -I${X11BASE}/include -O2 -L$(PREFIX)/lib -lX11 -lXext -o $(WRKSRC)/blast
+ ${CC} ${CFLAGS} ${WRKSRC}/blast.c -I${X11BASE}/include -L${X11BASE}/lib -lX11 -lXext -o ${WRKSRC}/blast
do-install:
- $(INSTALL_PROGRAM) $(WRKSRC)/blast $(PREFIX)/bin/blast
- $(INSTALL_MAN) $(WRKSRC)/blast.man $(PREFIX)/man/man1/blast.1
+ ${INSTALL_PROGRAM} ${WRKSRC}/blast ${PREFIX}/bin/blast
+ ${INSTALL_MAN} ${WRKSRC}/blast.man ${MANPREFIX}/man/man1/blast.1
.include <bsd.port.mk>