- mkdir -> ${INSTALL_DATA_DIR}

- kill off FreeBSD-ism (NOPORTDOCS knob)
--
Patch from: Pete Fritchman <petef@databits.net>
This commit is contained in:
brad 2001-03-22 22:06:35 +00:00
parent aa451a1383
commit 3e8d522623
32 changed files with 70 additions and 85 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.12 2000/10/22 15:41:33 espie Exp $
# $OpenBSD: Makefile,v 1.13 2001/03/22 22:06:35 brad Exp $
DISTNAME= lmbench
PKGNAME= lmbench-1.1
@ -39,7 +39,7 @@ pre-patch:
@mv ${WRKSRC}/src/RCS ${WRKSRC}/src/RCS-
pre-install:
[ -d ${PREFIX}/lib/lmbench ] || mkdir -p ${PREFIX}/lib/lmbench
${INSTALL_DATA_DIR} ${PREFIX}/lib/lmbench
do-install:
rm -rf ${WRKSRC}/{Results/RCS,doc/RCS,scripts/RCS,RCS}

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.3 2001/02/27 23:03:41 naddy Exp $
# $OpenBSD: Makefile,v 1.4 2001/03/22 22:06:36 brad Exp $
#
EXAMPLES= bjtnoise.cir ltra_1.cir mos6inv.cir pz2.cir \
@ -13,13 +13,13 @@ all:
install:
util/build OpenBSD install
${BSD_INSTALL_MAN} man/man1/nutmeg.0 ${PREFIX}/man/cat1
${BSD_INSTALL_MAN} man/man1/sconvert.0 ${PREFIX}/man/cat1
${BSD_INSTALL_MAN} man/man1/spice.0 ${PREFIX}/man/cat1
${INSTALL_MAN} man/man1/nutmeg.0 ${PREFIX}/man/cat1
${INSTALL_MAN} man/man1/sconvert.0 ${PREFIX}/man/cat1
${INSTALL_MAN} man/man1/spice.0 ${PREFIX}/man/cat1
/bin/ln -sf spice.0 ${PREFIX}/man/cat1/spice3.0
${BSD_INSTALL_MAN} man/man3/mfb.0 ${PREFIX}/man/cat3
${BSD_INSTALL_MAN} man/man5/mfbcap.0 ${PREFIX}/man/cat5
/bin/mkdir -p ${PREFIX}/share/examples/spice
${INSTALL_MAN} man/man3/mfb.0 ${PREFIX}/man/cat3
${INSTALL_MAN} man/man5/mfbcap.0 ${PREFIX}/man/cat5
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/spice
.for ex in ${EXAMPLES}
${BSD_INSTALL_DATA} examples/${ex} ${PREFIX}/share/examples/spice
.endfor

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.10 2001/02/23 16:17:13 ho Exp $
# $OpenBSD: Makefile,v 1.11 2001/03/22 22:06:36 brad Exp $
DISTNAME= jpilot-0.99
CATEGORIES= comms
@ -22,7 +22,7 @@ USE_X11= yes
CONFIGURE_STYLE= autoconf
post-install:
mkdir -p ${PREFIX}/share/doc/jpilot
cp ${WRKSRC}/docs/plugin.html ${PREFIX}/share/doc/jpilot
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/jpilot
${INSTALL_DATA} ${WRKSRC}/docs/plugin.html ${PREFIX}/share/doc/jpilot
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.21 2000/10/22 15:41:48 espie Exp $
# $OpenBSD: Makefile,v 1.22 2001/03/22 22:06:36 brad Exp $
DISTNAME= lclint-2.5q
CATEGORIES= devel
@ -46,7 +46,7 @@ post-build:
cd ${LIBSRC} && $(LCLINT) -nolib ansi.h posix.h unix.h -dump unix
cd ${LIBSRC} && $(LCLINT) -DSTRICT -nolib ansi.h posix.h unix.h -dump unixstrict
post-install:
@mkdir -p ${DOCDIR}
${INSTALL_DATA_DIR} ${DOCDIR}
cd ${DOCDIR} && tar -zxv -s ,lclint-guide/,, -f ${FULLDISTDIR}/${GUIDE}
test: install

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.8 2000/10/22 15:41:56 espie Exp $
# $OpenBSD: Makefile,v 1.9 2001/03/22 22:06:36 brad Exp $
#
DISTNAME= x48-0.4.0
@ -18,8 +18,9 @@ MASTER_SITE_SUBDIR= system/emulators
CONFIGURE_STYLE=imake noman
post-install:
mkdir -p ${PREFIX}/share/x48
cp ${WRKSRC}/README ${PREFIX}/share/x48/README-x48
cp ${WRKSRC}/doc/CARDS.doc ${WRKSRC}/doc/ROMDump.doc ${PREFIX}/share/x48
${INSTALL_DATA_DIR} ${PREFIX}/share/x48
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/x48/README-x48
${INSTALL_DATA} ${WRKSRC}/doc/CARDS.doc ${WRKSRC}/doc/ROMDump.doc \
${PREFIX}/share/x48
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.11 2000/10/22 14:03:14 espie Exp $
# $OpenBSD: Makefile,v 1.12 2001/03/22 22:06:36 brad Exp $
#
DISTNAME= gnushogi-1.2p03
@ -32,17 +32,15 @@ do-build:
make gnushogix )
do-install:
@mkdir -p ${PREFIX}/share/gnushogi
${INSTALL_DATA_DIR} ${PREFIX}/share/gnushogi
${INSTALL_PROGRAM} ${WRKSRC}/src/gnushogi ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/src/gnushogir ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/src/gnushogix ${PREFIX}/libexec
${INSTALL_DATA} ${WRKSRC}/src/gnushogi.bbk ${PREFIX}/share/gnushogi
${INSTALL_MAN} ${WRKSRC}/doc/gnushogi.1 ${PREFIX}/man/man6/gnushogi.6
.if !defined(NOPORTDOCS)
@mkdir -p ${PREFIX}/share/doc/gnushogi
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gnushogi
.for doc in ${DOCFILES}
${INSTALL_DATA} ${WRKSRC}/doc/${doc} ${PREFIX}/share/doc/gnushogi
.endfor
.endif
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.16 2001/02/08 11:55:08 espie Exp $
# $OpenBSD: Makefile,v 1.17 2001/03/22 22:06:37 brad Exp $
# $FreeBSD: Makefile,v 1.13 1997/12/25 22:29:17 asami Exp $
DISTNAME= nethack-3.3.0
@ -51,7 +51,7 @@ post-install:
@cd ${WRKSRC}/doc && \
${INSTALL_MAN} nethack.6 recover.6 ${PREFIX}/man/man6
.if ${FLAVOR:L} == ""
@mkdir -p ${PREFIX}/lib/X11/app-defaults
${INSTALL_DATA_DIR} ${PREFIX}/lib/X11/app-defaults
@cd ${WRKSRC}/win/X11 && cp NetHack.ad NetHack && \
${INSTALL_DATA} NetHack ${PREFIX}/lib/X11/app-defaults
.endif

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.19 2001/01/31 22:43:44 espie Exp $
# $OpenBSD: Makefile,v 1.20 2001/03/22 22:06:37 brad Exp $
DISTNAME= slash-e8
PKGNAME= slash-3.2.2-e8
@ -65,7 +65,7 @@ post-install:
@cd ${WRKSRC}/doc && \
${INSTALL_MAN} slash.6 srecover.6 ${PREFIX}/man/man6
.if ${FLAVOR:L} == ""
@mkdir -p ${PREFIX}/lib/X11/app-defaults
${INSTALL_DATA_DIR} ${PREFIX}/lib/X11/app-defaults
@cd ${WRKSRC}/win/X11 && \
sed -e "s/^NetHack/Slash/; s/^!NetHack/!Slash/" <NetHack.ad > Slash && \
${INSTALL_DATA} Slash ${PREFIX}/lib/X11/app-defaults

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.10 2000/10/22 15:42:01 espie Exp $
# $OpenBSD: Makefile,v 1.11 2001/03/22 22:06:37 brad Exp $
DISTNAME= starlanes-1.2.2
CATEGORIES= games
@ -19,7 +19,7 @@ pre-build:
@rm ${WRKSRC}/starlanes
do-install:
@mkdir -p ${PREFIX}/share/doc/starlanes
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/starlanes
${INSTALL_PROGRAM} ${WRKSRC}/starlanes ${PREFIX}/bin/starlanes
${INSTALL_MAN} ${WRKSRC}/starlanes.6 ${PREFIX}/man/man6
${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/doc/starlanes/COPYING

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.9 2000/10/22 15:42:02 espie Exp $
# $OpenBSD: Makefile,v 1.10 2001/03/22 22:06:37 brad Exp $
DISTNAME= xbattle-5.4.1
CATEGORIES= games
@ -15,8 +15,8 @@ PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE=imake
post-install:
@mkdir -p $(PREFIX)/share/doc/xbattle
@mkdir -p $(PREFIX)/share/xbattle
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xbattle
${INSTALL_DATA_DIR} ${PREFIX}/share/xbattle
@cp $(WRKSRC)/tutorial* $(PREFIX)/share/doc/xbattle/
@cp $(WRKSRC)/README $(PREFIX)/share/doc/xbattle/
@cp -R $(WRKSRC)/xbas $(PREFIX)/share/xbattle/

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.10 2000/10/22 15:42:08 espie Exp $
# $OpenBSD: Makefile,v 1.11 2001/03/22 22:06:39 brad Exp $
DISTNAME= xjewel-1.6
CATEGORIES= games
@ -17,7 +17,7 @@ PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE=imake
pre-install:
@mkdir -p ${PREFIX}/lib/xjewel.font
${INSTALL_DATA_DIR} ${PREFIX}/lib/xjewel.font
@(cd ${WRKSRC}/bitmaps; ${INSTALL_DATA} seven_seg.pcf.gz fonts.dir \
${PREFIX}/lib/xjewel.font)

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.13 2000/11/18 10:33:35 jakob Exp $
# $OpenBSD: Makefile,v 1.14 2001/03/22 22:06:39 brad Exp $
DISTNAME= tgif-4.1.40
CATEGORIES= graphics
@ -30,7 +30,7 @@ post-extract:
${WRKDIR}/${DISTNAME}/Tgif.tmpl
post-install:
@mkdir -p ${TGIFDOC}
${INSTALL_DATA_DIR} ${TGIFDOC}
cd ${WRKSRC} ;\
${INSTALL_DATA} ${DEMO_FILES} ${TGIFDOC} ;\
${INSTALL_DATA} ${READMES} ${TGIFDOC}

View File

@ -40,7 +40,7 @@ pre-configure:
.endif
post-install:
-mkdir ${PREFIX}/share/doc/kinput2
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/kinput2
cp ${WRKSRC}/README ${PORT_DOCDIR}
cp ${WRKSRC}/NEWS ${PORT_DOCDIR}
@(cd ${WRKSRC}/doc; tar -cf - . | \

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.14 2001/02/08 20:06:23 espie Exp $
# $OpenBSD: Makefile,v 1.15 2001/03/22 22:06:39 brad Exp $
DISTNAME= qmail-1.03
HOMEPAGE= http://cr.yp.to/qmail.html
@ -48,7 +48,7 @@ pre-install:
# rebuild install utilities with fake prefix
echo ${PREFIX} > ${WRKSRC}/conf-qmail
# needed when using a different prefix
mkdir -p ${PREFIX}
${INSTALL_DATA_DIR} ${PREFIX}
post-install:
# restore original installer

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.14 2000/10/22 15:42:38 espie Exp $
# $OpenBSD: Makefile,v 1.15 2001/03/22 22:06:39 brad Exp $
DISTNAME= imm.source
PKGNAME= imm-3.5a1
@ -34,10 +34,8 @@ do-install:
# and no man pages at all yet.
# But include the very limited documentation
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/imm
.if !defined(NOPORTDOCS)
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/imm
${INSTALL_DATA} ${WRKSRC}/imm_readme.txt ${PREFIX}/share/doc/imm
.endif
# The sdr plugin is pretty much required.
${INSTALL_DATA} ${WRKSRC}/sdr2.plugin.S53.image.imm ${PREFIX}/share/doc/imm

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.8 2000/10/22 14:03:27 espie Exp $
# $OpenBSD: Makefile,v 1.9 2001/03/22 22:06:40 brad Exp $
DISTNAME= rtptools-1.9
CATEGORIES= mbone
@ -25,11 +25,9 @@ do-install:
.for i in ${BINFILES}
${INSTALL_PROGRAM} ${WRKSRC}/openbsd/${i} ${PREFIX}/bin
.endfor
.if !defined(NOPORTDOCS)
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/rtptools
.for i in ${DOCFILES}
${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/rtptools
.endfor
.endif
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.11 2000/10/22 15:42:42 espie Exp $
# $OpenBSD: Makefile,v 1.12 2001/03/22 22:06:40 brad Exp $
#
DISTNAME= wb-1.59
@ -35,12 +35,10 @@ pre-fetch:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wb ${PREFIX}/bin
.if !defined(NOPORTDOCS)
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/wb
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/wb
${INSTALL_DATA} ${WRKSRC}/CHANGES ${PREFIX}/share/doc/wb
${INSTALL_DATA} ${WRKSRC}/NOTES ${PREFIX}/share/doc/wb
${INSTALL_DATA} ${WRKSRC}/lblwb.ps ${PREFIX}/share/doc/wb
.endif
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.9 2000/10/22 15:43:13 espie Exp $
# $OpenBSD: Makefile,v 1.10 2001/03/22 22:06:40 brad Exp $
# Original from: Ejovi Nuwere <ejovi@ejovi.net>
DISTNAME= plor-0.3.2
@ -22,12 +22,10 @@ DOCFILES= ../AUTHORS ../NEWS TODO plor-1.html plor-2.html \
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/plor ${PREFIX}/bin
.if !defined{NOPORTDOCS}
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/plor
.for f in ${DOCFILES}
${INSTALL_DATA} ${WRKSRC}/docs/${f} ${PREFIX}/share/doc/plor
.endfor
.endif
${INSTALL_MAN} ${FILESDIR}/plor.1 ${PREFIX}/man/man1/plor.1
perl -pi -e '$$a = '\''${PREFIX}/share/doc/plor/'\''; $$a =~ s/([^\w\/])/\\$$1/g; s/FUNKYTOKENHERE/$$a/' ${PREFIX}/man/man1/plor.1

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.9 2000/10/22 15:43:15 espie Exp $
# $OpenBSD: Makefile,v 1.10 2001/03/22 22:06:40 brad Exp $
CATEGORIES= print
NEED_VERSION= 1.247
@ -35,7 +35,7 @@ RUN_DEPENDS=${GSDIR}::print/ghostscript/gnu
.endif
pre-fake:
mkdir -p ${GSDIR}
${INSTALL_DATA_DIR} ${GSDIR}
do-install:
${INSTALL_DATA} ${FULLDISTDIR}/${DISTFILES} ${GSDIR}

View File

@ -2,7 +2,7 @@
# Date created: May 17 1998
# Whom: Angelos D. Keromytis
#
# $OpenBSD: Makefile,v 1.11 2000/10/22 14:03:42 espie Exp $
# $OpenBSD: Makefile,v 1.12 2001/03/22 22:06:40 brad Exp $
#
DISTNAME= pkfonts
@ -54,7 +54,7 @@ pre-fetch:
.endif
do-install:
mkdir -p ${PREFIX}/lib/fonts
${INSTALL_DATA_DIR} ${PREFIX}/lib/fonts
tar -C ${PREFIX}/lib/fonts -xzf ${FULLDISTDIR}/${DISTFILES}
@cp ${PKGDIR}/${RESOLUTION}.list ${PKGDIR}/PLIST

View File

@ -1,6 +1,6 @@
# Whom: Angelos D. Keromytis
#
# $OpenBSD: Makefile,v 1.9 2000/10/09 00:21:14 avsm Exp $
# $OpenBSD: Makefile,v 1.10 2001/03/22 22:06:41 brad Exp $
PKGNAME= teTeX_base-1.0.7
CATEGORIES= print/teTeX
@ -53,7 +53,7 @@ post-configure:
# need the texmf part visible...
pre-fake:
mkdir -p ${PREFIX}/share/texmf
${INSTALL_DATA_DIR} ${PREFIX}/share/texmf
lndir ${TRUEPREFIX}/share/texmf ${PREFIX}/share/texmf
# mktexlsr is too smart for its own good
rm ${PREFIX}/share/texmf/ls-R

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.13 2001/03/12 15:20:13 wilfried Exp $
# $OpenBSD: Makefile,v 1.14 2001/03/22 22:06:41 brad Exp $
# Original from: Ejovi Nuwere <ejovi@ejovi.net>
DISTNAME= crack5.0
@ -38,7 +38,7 @@ do-build:
.endif
do-install:
@mkdir -p ${PREFIX}/crack
${INSTALL_DATA_DIR} ${PREFIX}/crack
@rm -f ${WRKSRC}/Run/*
@(cd ${WRKSRC} ; tar cf - . | (cd ${PREFIX}/crack; tar xfBp -))

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.19 2001/02/13 03:00:11 matt Exp $
# $OpenBSD: Makefile,v 1.20 2001/03/22 22:06:41 brad Exp $
PKGNAME= nessus-${VERS}
@ -77,7 +77,7 @@ post-configure:
@touch ${WRKSRC}nessus-plugins/plugins/nmap_wrapper/nmap_installed
pre-install:
mkdir -p -m 755 ${PREFIX}/include/nessus
${INSTALL_DATA_DIR} ${PREFIX}/include/nessus
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.2 2000/10/22 16:21:18 espie Exp $
# $OpenBSD: Makefile,v 1.3 2001/03/22 22:06:41 brad Exp $
DISTNAME= ppgen-1.0
CATEGORIES= security
@ -19,7 +19,7 @@ EXTRACT_ONLY= ${DISTNAME}.tar.gz
CONFIGURE_STYLE=gnu old dest
post-install:
mkdir -p ${PREFIX}/share/ppgen
${INSTALL_DATA_DIR} ${PREFIX}/share/ppgen
gzip -dc ${FULLDISTDIR}/en.gz > ${PREFIX}/share/ppgen/en
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.16 2001/01/05 16:02:21 brad Exp $
# $OpenBSD: Makefile,v 1.17 2001/03/22 22:06:43 brad Exp $
BROKEN= "installs files directly into /etc"
@ -39,7 +39,7 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/lpd.perms ${PREFIX}/lib/lpd.perms-sample
test -f /etc/lpd.conf || ${INSTALL_DATA} ${WRKSRC}/lpd.conf /etc
test -f /etc/lpd.perms || ${INSTALL_DATA} ${WRKSRC}/lpd.perms /etc
mkdir -p ${PREFIX}/share/doc/LPRng
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/LPRng
cd ${WRKSRC}/HOWTO && ${INSTALL_DATA} ${HTMLFILES} \
${PREFIX}/share/doc/LPRng
@cat ${PKGDIR}/MESSAGE

View File

@ -3,7 +3,7 @@
# Date created: December 1, 1997
# Whom: Angelos D. Keromytis
#
# $OpenBSD: Makefile,v 1.11 2000/10/22 14:03:50 espie Exp $
# $OpenBSD: Makefile,v 1.12 2001/03/22 22:06:41 brad Exp $
#
DISTNAME= html-4.0b
@ -26,7 +26,7 @@ WRKDIST= ${WRKDIR}
INSTDIR= ${PREFIX}/share/sgml/html
pre-install:
@[ -d ${INSTDIR} ] || mkdir -p ${INSTDIR}
${INSTALL_DATA_DIR} ${INSTDIR}
do-install:
@zcat ${FULLDISTDIR}/${DISTFILES} |(cd ${INSTDIR}; pax -r)

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.11 2000/10/22 15:43:36 espie Exp $
# $OpenBSD: Makefile,v 1.12 2001/03/22 22:06:42 brad Exp $
# Original from: Ejovi Nuwere <ejovi@ejovi.net>
#BROKEN= C++ syntax errors, index.cxx:533: ANSI C++ forbids declaration PhraseLength with no type
@ -25,9 +25,7 @@ post-install:
strip ${PREFIX}/bin/Isearch
strip ${PREFIX}/bin/Iindex
strip ${PREFIX}/bin/Iutil
.if !defined(NOPORTDOCS)
mkdir -p ${PREFIX}/share/doc/Isearch
${INSTALL_MAN} ${WRKSRC}/html/*.html ${PREFIX}/share/doc/Isearch
.endif
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/Isearch
${INSTALL_DATA} ${WRKSRC}/html/*.html ${PREFIX}/share/doc/Isearch
.include <bsd.port.mk>

View File

@ -3,7 +3,7 @@
# Date created: May 17 1998
# Whom: Angelos D. Keromytis
#
# $OpenBSD: Makefile,v 1.9 2000/10/22 14:03:51 espie Exp $
# $OpenBSD: Makefile,v 1.10 2001/03/22 22:06:42 brad Exp $
#
DISTNAME= iso12083-1993
@ -28,7 +28,7 @@ EXTRACT_ONLY= # empty
INSTDIR= ${PREFIX}/share/sgml/iso12083
pre-install:
@[ -d ${INSTDIR} ] || mkdir -p ${INSTDIR}
${INSTALL_DATA_DIR} ${INSTDIR}
do-install:
@for i in ${DISTFILES}; do \

View File

@ -1,6 +1,4 @@
SUBDIR= generic include lib nsgmls sgmlnorm spam spent
.if !defined(NOPORTDOCS)
SUBDIR+= doc
.endif
.include <bsd.subdir.mk>

View File

@ -3,7 +3,7 @@
# Date created: May 19 1998
# Whom: Angelos D. Keromytis
#
# $OpenBSD: Makefile,v 1.9 2000/10/22 15:43:50 espie Exp $
# $OpenBSD: Makefile,v 1.10 2001/03/22 22:06:42 brad Exp $
#
DISTNAME= mouseclock-1.0
@ -24,9 +24,7 @@ CONFIGURE_STYLE= imake noman
XMKMF= xmkmf
post-install:
.if !defined(NOPORTDOCS)
@${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mouseclock
@${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/mouseclock
.endif
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mouseclock
${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/mouseclock
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.10 2000/10/22 15:44:09 espie Exp $
# $OpenBSD: Makefile,v 1.11 2001/03/22 22:06:42 brad Exp $
PKGNAME= xview-clients-${XVIEW_VERSION}
MASTER_SITES= ${MASTER_SITE_LOCAL}
@ -29,7 +29,7 @@ do-configure:
cd ${WRKDIST} && SUBDIRS=clients make depend
pre-install:
@mkdir -p ${PREFIX}/lib/help
${INSTALL_DATA_DIR} ${PREFIX}/lib/help
@cd ${WRKSRC} && make ${MAKE_FLAGS} -f ${MAKE_FILE} install.man
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.4 2000/10/22 15:44:10 espie Exp $
# $OpenBSD: Makefile,v 1.5 2001/03/22 22:06:43 brad Exp $
PKGNAME= xview-config-${XVIEW_VERSION}
CATEGORIES= x11
@ -17,7 +17,7 @@ PATCH_LIST= p-*
FAKE_FLAGS= CONFIGDIR=/usr/local/lib/X11/config
pre-fake:
mkdir -p ${PREFIX}/lib/X11/config
${INSTALL_DATA_DIR} ${PREFIX}/lib/X11/config
post-extract:
@chmod -R a+rX ${WRKDIST}