Trivial fake

set up reasonable permissions for idled, so that packaging may happen as
non-root.
This commit is contained in:
espie 2000-06-07 01:04:23 +00:00
parent 04b1f945ec
commit 14b2094c37
3 changed files with 21 additions and 21 deletions

View File

@ -1,23 +1,23 @@
# $OpenBSD: Makefile,v 1.6 2000/04/09 17:38:16 espie Exp $
# $OpenBSD: Makefile,v 1.7 2000/06/07 01:04:23 espie Exp $
# $FreeBSD: Makefile,v 1.2 1998/08/19 11:28:23 jseger Exp $
#
DISTNAME= cfengine-1.4.12
CATEGORIES= sysutils
FAKE=No
MAINTAINER= ports@openbsd.org
LICENSE_TYPE= GPL
PERMIT_PACKAGE_CDROM= YES
PERMIT_PACKAGE_FTP= YES
PERMIT_DISTFILES_CDROM= YES
PERMIT_DISTFILES_FTP= YES
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= cfengine
GNU_CONFIGURE= yes
HAS_CONFIGURE= Yes
CONFIGURE_ARGS=--prefix='$${DESTDIR}${PREFIX}' --sysconfdir='$${DESTDIR}/etc'
MAKE_ENV= INSTALL_SCRIPT="${INSTALL_SCRIPT}"
.include <bsd.port.mk>

View File

@ -1,8 +1,7 @@
# $OpenBSD: Makefile,v 1.7 2000/04/09 17:38:16 espie Exp $
# $OpenBSD: Makefile,v 1.8 2000/06/07 01:04:24 espie Exp $
DISTNAME= idled-1.16
CATEGORIES= sysutils
FAKE=No
MASTER_SITES= http://www.darkwing.com/idled/download/ \
ftp://ftp.cs.hope.edu/pub/idled/
@ -14,6 +13,7 @@ PERMIT_DISTFILES_CDROM= "no fee"
PERMIT_DISTFILES_FTP= Yes
post-extract:
@(cd ${WRKSRC}; make clean)
@cd ${WRKSRC}; make clean
FAKE_FLAGS=PREFIX=${PREFIX} DESTDIR=${WRKINST}
.include <bsd.port.mk>

View File

@ -1,6 +1,6 @@
--- Makefile.orig Thu May 16 15:05:28 1996
+++ Makefile Fri Jul 24 17:27:10 1998
@@ -165,27 +165,28 @@
--- Makefile.orig Fri May 17 00:05:28 1996
+++ Makefile Wed Jun 7 03:03:13 2000
@@ -165,27 +165,28 @@ INCLUDE =
# If you add it, '-lkvm' must also be added to the SPECLIBS line
# You will need to delete parse.c before compiling! You can either
# do so by hand, or do a 'make clean' followed by the normal 'make'.
@ -17,10 +17,10 @@
-#CFDEST = /usr/local/libexec
-#MDEST = /usr/local/man
-#LOGDEST = /var/log
+DEST = ${PREFIX}/libexec
+CFLIB = ${PREFIX}/lib
+CFDEST = /etc
+MDEST = ${PREFIX}/man
+DEST = ${DESTDIR}${PREFIX}/libexec
+CFLIB = ${DESTDIR}${PREFIX}/lib
+CFDEST = ${DESTDIR}/etc
+MDEST = ${DESTDIR}${PREFIX}/man
+LOGDEST = /var/log
#
-#OWNER = root
@ -38,13 +38,13 @@
-#MODE = 750
-#CFMODE = 664
-#MMODE = 444
+MODE = 750
+MODE = 755
+CFMODE = 664
+MMODE = 444
######################################################################
######################################################################
@@ -215,25 +216,25 @@
@@ -215,25 +216,25 @@ INCLUDE =
# SVR4 -- Solaris 2.x
# Use install3 for /usr/sbin/install
# and install1 for /usr/ucb/install
@ -86,7 +86,7 @@
######################################################################
######################################################################
@@ -479,18 +480,16 @@
@@ -479,18 +480,16 @@ install1: all
@echo "file can serve as a guide, as well as the man pages."
# BSD like, but with some enhancements like: install -s -> strip binary
@ -110,7 +110,7 @@
# Aix Prefers install2
install2: all
@@ -527,7 +526,7 @@
@@ -527,7 +526,7 @@ ${MAN}: idled.man.form idled.cf.man.form
lint: ${SRC} ${SRCg}
lint -hxn ${DEFS} ${SRC} ${SRCg}