diff options
author | ade <ade@FreeBSD.org> | 2000-10-14 04:21:41 +0800 |
---|---|---|
committer | ade <ade@FreeBSD.org> | 2000-10-14 04:21:41 +0800 |
commit | ef067f9b8ba67ca80546328c2e0c7808fb071c8a (patch) | |
tree | 23f6cec96661294ffdafb717862f04cad9e03d7a /graphics/vcg/Makefile | |
parent | 3e545005695c054ddf213f5cfaed524b5e68d1a3 (diff) | |
download | freebsd-ports-gnome-ef067f9b8ba67ca80546328c2e0c7808fb071c8a.tar.gz freebsd-ports-gnome-ef067f9b8ba67ca80546328c2e0c7808fb071c8a.tar.zst freebsd-ports-gnome-ef067f9b8ba67ca80546328c2e0c7808fb071c8a.zip |
Support CC/CFLAGS/X11BASE/PREFIX/MAKE properly
Support install macros
PR: 21579
Submitted by: Ports Fury
Diffstat (limited to 'graphics/vcg/Makefile')
-rw-r--r-- | graphics/vcg/Makefile | 26 |
1 files changed, 17 insertions, 9 deletions
diff --git a/graphics/vcg/Makefile b/graphics/vcg/Makefile index 04304c5d32af..a980b681e520 100644 --- a/graphics/vcg/Makefile +++ b/graphics/vcg/Makefile @@ -1,6 +1,6 @@ -# New ports collection makefile for: vcg -# Date created: 19 February 1995 -# Whom: hsu +# New ports collection makefile for: vcg +# Date created: 19 February 1995 +# Whom: hsu # # $FreeBSD$ # @@ -9,19 +9,27 @@ PORTNAME= vcg PORTVERSION= 1.30 CATEGORIES= graphics MASTER_SITES= ftp://ftp.cs.uni-sb.de/pub/graphics/vcg/ -DISTNAME= vcg.1.30 -DISTFILES= vcg.1.30.r3.17.tgz +DISTNAME= ${PORTNAME}.${PORTVERSION} +EXTRACT_SUFX= .r3.17.tgz MAINTAINER= ports@FreeBSD.org +BUILD_DEPENDS= imake:${PORTSDIR}/devel/imake-4 + USE_X_PREFIX= yes MANL= pbmrot90.l pbmshift.l pbm2hp.l vcgdemomaker.l vcg.l xvcg.l pre-patch: @${MKDIR} ${WRKSRC}/preconf/X11ccFreeBSD - @${CP} ${FILESDIR}/conf ${WRKSRC}/preconf/X11ccFreeBSD - @${CP} ${FILESDIR}/demo.csh ${WRKSRC}/preconf/X11ccFreeBSD - @${CP} ${FILESDIR}/globals.h ${WRKSRC}/preconf/X11ccFreeBSD - @${CP} ${FILESDIR}/tMakefile ${WRKSRC}/preconf/X11ccFreeBSD +.for file in conf demo.csh globals.h tMakefile + @${SED} -e "s:%%CC%%:${CC}:g" \ + -e "s:%%CFLAGS%%:${CFLAGS}:g" \ + -e "s:%%MAKE%%:${MAKE}:g;" \ + -e "s:%%PREFIX%%:${PREFIX}:g" \ + -e "s:%%X11BASE%%:${X11BASE}:g" \ + -e "s:%%INSTALL_PROGRAM%%:${INSTALL_PROGRAM}:g" \ + -e "s:%%INSTALL_MAN%%:${INSTALL_MAN}:g" \ + < ${FILESDIR}/${file} > ${WRKSRC}/preconf/X11ccFreeBSD/${file} +.endfor .include <bsd.port.mk> |