1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/sysutils/cd-write/Makefile
Satoshi Asami dbc8aa6cc1 Use bsd.port.{pre,post}.mk. Either use them to avoid having to define
something already there (PORTOBJFORMAT, OSVERSION) or move stuff from after
.include <bsd.port.mk> to before.

(This is not by any means the complete list but just the ones I've noticed
recently.)
1998-11-11 05:37:39 +00:00

36 lines
864 B
Makefile

# New ports collection makefile for: cd-write
# Version required: 1.4
# Date created: 1 May 1997
# Whom: jmz
#
# $Id: Makefile,v 1.11 1998/10/14 10:41:59 jseger Exp $
#
DISTNAME= cd-write-1.4
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.obs-besancon.fr/pub/outgoing/
MAINTAINER= jmz@FreeBSD.org
LIB_DEPENDS= tixsam4180.1:${PORTSDIR}/x11-toolkits/tix
WRKSRC= ${WRKDIR}/cd-write
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 300000
BROKEN= scsi.h
.endif
pre-build:
@cd ${WRKSRC}; mv Makefile Makefile~; \
sed -e s:/usr/local:${PREFIX}:g <Makefile~ >Makefile;\
echo all: cd-write >> Makefile
@cd ${WRKSRC}/c++tk; mv Makefile Makefile~; \
sed -e s:/usr/local:${PREFIX}:g <Makefile~ >Makefile
post-install:
@PREFIX=${PREFIX} ${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL
.include <bsd.port.post.mk>