From 62d306b057537feb1ef4749c60334699ef7f07d1 Mon Sep 17 00:00:00 2001 From: jlam Date: Fri, 17 Jun 2005 03:50:19 +0000 Subject: Create directories before installing files into them. --- time/asclock-gtk/Makefile | 4 +++- time/asclock/Makefile | 10 +++++++--- time/cal/Makefile | 4 +++- time/cardboard-schedule/Makefile | 4 +++- time/gdeskcal/Makefile | 3 ++- time/glclock/Makefile | 4 +++- time/gnyaclock/Makefile | 4 +++- time/pcal/Makefile | 4 +++- time/ptimetracker/Makefile | 3 ++- time/wmcalclock/Makefile | 4 +++- time/xtu/Makefile | 3 ++- 11 files changed, 34 insertions(+), 13 deletions(-) (limited to 'time') diff --git a/time/asclock-gtk/Makefile b/time/asclock-gtk/Makefile index a39b93dc3d9..b2bac0d1b7b 100644 --- a/time/asclock-gtk/Makefile +++ b/time/asclock-gtk/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2005/04/11 21:47:44 tv Exp $ +# $NetBSD: Makefile,v 1.22 2005/06/17 03:50:38 jlam Exp $ # DISTNAME= asclock-gtk-2.1.10beta @@ -20,6 +20,8 @@ PLIST_SRC= ${PKGDIR}/PLIST \ BUILD_TARGET= asclock +INSTALLATION_DIRS= bin + pre-configure: cd ${WRKSRC}; ${LN} -sf themes/classic default_theme diff --git a/time/asclock/Makefile b/time/asclock/Makefile index 4e2259a7f9d..9c766fe1150 100644 --- a/time/asclock/Makefile +++ b/time/asclock/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2005/04/11 21:47:44 tv Exp $ +# $NetBSD: Makefile,v 1.20 2005/06/17 03:50:38 jlam Exp $ DISTNAME= asclock-classic-1.0 PKGNAME= asclock-1.0 @@ -19,6 +19,8 @@ PLIST_SRC= ${WRKDIR}/.PLIST_SRC .include "../../mk/bsd.prefs.mk" +INSTALLATION_DIRS= bin libexec + # Translate to two-letter abbreviations in /usr/share/misc/language. # post-extract: @@ -53,10 +55,12 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/asclock ${PREFIX}/libexec/asclock-classic ${CAT} ${PKGDIR}/PLIST > ${PLIST_SRC} .if (${OPSYS} == SunOS) || (${OPSYS} == "Linux") || (${OPSYS} == "Interix") - ${INSTALL_DATA} ${WRKSRC}/asclock.man ${PREFIX}/man/man1/asclock.1 + ${INSTALL_MAN_DIR} ${PREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/asclock.man ${PREFIX}/man/man1/asclock.1 @${ECHO} man/man1/asclock.1 >> ${PLIST_SRC} .else - ${INSTALL_DATA} ${WRKSRC}/asclock.0 ${PREFIX}/man/cat1/asclock.0 + ${INSTALL_MAN_DIR} ${PREFIX}/man/cat1 + ${INSTALL_MAN} ${WRKSRC}/asclock.0 ${PREFIX}/man/cat1/asclock.0 @${ECHO} man/cat1/asclock.0 >> ${PLIST_SRC} .endif ${INSTALL_DATA_DIR} ${PREFIX}/share/asclock-classic diff --git a/time/cal/Makefile b/time/cal/Makefile index d8f7c465c98..bdf2d1bd191 100644 --- a/time/cal/Makefile +++ b/time/cal/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2005/03/24 21:13:02 wiz Exp $ +# $NetBSD: Makefile,v 1.12 2005/06/17 03:50:38 jlam Exp $ DISTNAME= cal-3.5 PKGREVISION= 1 @@ -17,6 +17,8 @@ CFLAGS+= -DPKG_SYSCONFDIR="\"${PKG_SYSCONFDIR}\"" EGDIR= ${PREFIX}/share/examples/cal # CONF_FILES not used as calcol and caldat are optional. +INSTALLATION_DIRS= bin man/man1 + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/cal ${PREFIX}/bin/cal ${INSTALL_MAN} ${WRKSRC}/cal.1 ${PREFIX}/man/man1/cal.1 diff --git a/time/cardboard-schedule/Makefile b/time/cardboard-schedule/Makefile index bac8f149c62..49d0d16590f 100644 --- a/time/cardboard-schedule/Makefile +++ b/time/cardboard-schedule/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2005/05/16 01:15:33 jlam Exp $ +# $NetBSD: Makefile,v 1.14 2005/06/17 03:50:38 jlam Exp $ # DISTNAME= cs113ins @@ -31,6 +31,8 @@ CSFILES= cs/images/Logo2.gif \ stage/license.txt \ stage/CsHelp.jar +INSTALLATION_DIRS= bin + post-extract: (cd ${WRKDIR} && unzip -x InstallerData/Installer.zip) || ${TRUE} diff --git a/time/gdeskcal/Makefile b/time/gdeskcal/Makefile index 1b59487c163..8abb766f024 100644 --- a/time/gdeskcal/Makefile +++ b/time/gdeskcal/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2005/04/26 21:21:36 drochner Exp $ +# $NetBSD: Makefile,v 1.19 2005/06/17 03:50:38 jlam Exp $ # DISTNAME= gDeskCal-0_57_1 @@ -15,6 +15,7 @@ NO_BUILD= yes PYTHON_VERSIONS_ACCEPTED= 23 PYTHON_PATCH_SCRIPTS= gdeskcal +INSTALLATION_DIRS= bin post-extract: ${RM} ${WRKSRC}/data/format.xml~ diff --git a/time/glclock/Makefile b/time/glclock/Makefile index 3f4f56b31b9..9ceeceefbde 100644 --- a/time/glclock/Makefile +++ b/time/glclock/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2005/06/01 18:03:23 jlam Exp $ +# $NetBSD: Makefile,v 1.16 2005/06/17 03:50:38 jlam Exp $ # DISTNAME= glclock-6.0b6.0 @@ -20,6 +20,8 @@ BUILD_TARGET= glclock CFLAGS= .endif +INSTALLATION_DIRS= bin + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/glclock ${PREFIX}/bin #notyet: lookup of .ppm files diff --git a/time/gnyaclock/Makefile b/time/gnyaclock/Makefile index b16bbde1dcc..882dc1a16af 100644 --- a/time/gnyaclock/Makefile +++ b/time/gnyaclock/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2005/04/11 21:47:44 tv Exp $ +# $NetBSD: Makefile,v 1.9 2005/06/17 03:50:38 jlam Exp $ # DISTNAME= gnya @@ -14,6 +14,8 @@ COMMENT= Accessory with Bezier curve WRKSRC= ${WRKDIR}/gnyaclock USE_IMAKE= YES +INSTALLATION_DIRS= bin man/ja_JP.EUC/man1 + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/gnyaclock ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/gnyaclock.man \ diff --git a/time/pcal/Makefile b/time/pcal/Makefile index ef2890c56b0..b65e2511421 100644 --- a/time/pcal/Makefile +++ b/time/pcal/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2005/04/28 23:32:43 jlam Exp $ +# $NetBSD: Makefile,v 1.9 2005/06/17 03:50:38 jlam Exp $ # DISTNAME= pcal-4.7 @@ -23,6 +23,8 @@ MAKE_ENV+= CC="${CC}" HOST_CC="${HOST_CC}" BUILD_TARGET= pcal +INSTALLATION_DIRS= bin man/man1 + pre-install: ${MV} ${WRKSRC}/pcal.cgi ${WRKSRC}/pcal.cgi.tmp ${SED} -e 's|@@PREFIX@@|${PREFIX}|' \ diff --git a/time/ptimetracker/Makefile b/time/ptimetracker/Makefile index 54fd7588602..0f3a1fcd17e 100644 --- a/time/ptimetracker/Makefile +++ b/time/ptimetracker/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2005/06/01 18:03:23 jlam Exp $ +# $NetBSD: Makefile,v 1.5 2005/06/17 03:50:38 jlam Exp $ DISTNAME= ptimetracker-1.7.3 PKGREVISION= # empty @@ -12,6 +12,7 @@ COMMENT= Keep track of the time spent on projects # USE_GNOME= gnomehack gnomeprefix libgtkhtml libgnomeui USE_TOOLS+= gmake USE_LIBTOOL= yes +INSTALLATION_DIRS= bin man/man1 do-configure: cd ${WRKSRC} && ${QTDIR}/bin/qmake -o Makefile ptt.pro diff --git a/time/wmcalclock/Makefile b/time/wmcalclock/Makefile index 96c1a857ea0..7d1845fe954 100644 --- a/time/wmcalclock/Makefile +++ b/time/wmcalclock/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2005/05/22 20:08:43 jlam Exp $ +# $NetBSD: Makefile,v 1.13 2005/06/17 03:50:38 jlam Exp $ # DISTNAME= wmCalClock-1.25 @@ -19,6 +19,8 @@ USE_TOOLS+= gmake MAKE_ENV+= EXTRALIBS="-lsocket -lnsl" .endif +INSTALLATION_DIRS= bin man/man1 + do-install: ${INSTALL_MAN} ${WRKSRC}/wmCalClock.1 ${PREFIX}/man/man1/ ${INSTALL_PROGRAM} ${WRKSRC}/wmCalClock ${PREFIX}/bin/ diff --git a/time/xtu/Makefile b/time/xtu/Makefile index 578b1983805..fb3f9c2603c 100644 --- a/time/xtu/Makefile +++ b/time/xtu/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2005/06/01 18:03:24 jlam Exp $ +# $NetBSD: Makefile,v 1.6 2005/06/17 03:50:38 jlam Exp $ # DISTNAME= xtu-1.2 @@ -9,6 +9,7 @@ MAINTAINER= sketch@NetBSD.org HOMEPAGE= http://core.de/~coto/projects/xtu/ COMMENT= Small configurable X11 analog clock +INSTALLATION_DIRS= bin .include "../../mk/x11.buildlink3.mk" -- cgit v1.2.3