aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-09-14 11:34:18 +0800
committerkris <kris@FreeBSD.org>2002-09-14 11:34:18 +0800
commit2247a0d3be231cd67259058b618c3e6b79242aea (patch)
treee9fe664c82e11d1d56b202b1d8a4e3b91d510043 /sysutils
parent40e1a40a953c1802cbcd8179158b5e58eb982173 (diff)
downloadfreebsd-ports-gnome-2247a0d3be231cd67259058b618c3e6b79242aea.tar.gz
freebsd-ports-gnome-2247a0d3be231cd67259058b618c3e6b79242aea.tar.zst
freebsd-ports-gnome-2247a0d3be231cd67259058b618c3e6b79242aea.zip
Sanitize this port (don't try and fetch into files/, because that's
supposed to be read-only). Noticed by: forthcoming bsd.port.mk patch
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/setcdboot/Makefile14
-rw-r--r--sysutils/setcdboot/distinfo1
2 files changed, 6 insertions, 9 deletions
diff --git a/sysutils/setcdboot/Makefile b/sysutils/setcdboot/Makefile
index 416f648e7192..7e73cbfdb0ae 100644
--- a/sysutils/setcdboot/Makefile
+++ b/sysutils/setcdboot/Makefile
@@ -9,23 +9,21 @@
PORTNAME= setcdboot
PORTVERSION= 1.0
CATEGORIES= sysutils
-MASTER_SITES= # part of port
-DISTNAME= ${PORTNAME}
-EXTRACT_SUFX= .c
MAINTAINER= ports@FreeBSD.org
NO_WRKSUBDIR= yes
-DISTDIR= ${FILESDIR}
+
+do-fetch:
do-extract:
- @${MKDIR} ${WRKDIR}
- @${CP} ${DISTDIR}/${DISTFILES} ${WRKDIR}
+ ${MKDIR} ${WRKDIR}
+ ${CP} ${FILESDIR}/setcdboot.c ${WRKDIR}
do-build:
- (cd ${WRKSRC} && ${CC} ${CFLAGS} -o ${DISTNAME} ${DISTNAME}.c)
+ (cd ${WRKSRC} && ${CC} ${CFLAGS} -o setcdboot setcdboot.c)
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/setcdboot ${PREFIX}/bin
.include <bsd.port.mk>
diff --git a/sysutils/setcdboot/distinfo b/sysutils/setcdboot/distinfo
deleted file mode 100644
index 6a18cf9c2bca..000000000000
--- a/sysutils/setcdboot/distinfo
+++ /dev/null
@@ -1 +0,0 @@
-MD5 (setcdboot.c) = e2d18fa30799f1f77afe75c83216ce6d