Making a centralised makefile for all of the bsdinstaller packages. This will make the packages more logical and easier to maintain. The makefile is called bsdinstall.mk and contains the information to fetch the cvs snapshot tarball and a pre-configure target to do some changes in those sources.
This commit is contained in:
parent
eabea50562
commit
fb76c84dba
12 changed files with 47 additions and 68 deletions
7
bsdinstaller/bsdinstaller.mk
Normal file
7
bsdinstaller/bsdinstaller.mk
Normal file
|
@ -0,0 +1,7 @@
|
|||
DISTNAME= bsdinstaller-20070528
|
||||
MASTER_SITES= http://rnrdoctor.sytes.net/~replaced/bsdinstaller/
|
||||
|
||||
FILESDIR= ${.CURDIR}/../../wip/bsdinstaller/files
|
||||
|
||||
pre-configure:
|
||||
${CP} ${FILESDIR}/Config ${WRKDIR}/${DISTNAME}/installer/src/Config
|
|
@ -1,22 +1,18 @@
|
|||
# $NetBSD: Makefile,v 1.3 2007/06/01 20:07:31 hoka_adam Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2007/06/02 03:34:42 hoka_adam Exp $
|
||||
|
||||
DISTNAME= bsdinstaller-20070528
|
||||
PKGNAME= dfuibe_installer-1.1.7
|
||||
CATEGORIES= sysutils
|
||||
|
||||
MASTER_SITES= http://rnrdoctor.sytes.net/~replaced/bsdinstaller/
|
||||
.include "../../wip/bsdinstaller/bsdinstaller.mk"
|
||||
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/installer/src/backend/installer
|
||||
|
||||
HOMEPAGE= http://www.bsdinstaller.com/
|
||||
MAINTAINER= adam.hoka@gmail.com
|
||||
COMMENT= DFUI BSD Installer backend
|
||||
|
||||
FILESDIR= ${.CURDIR}/../../wip/bsdinstaller/files
|
||||
SHAREDIR= ${PREFIX}/share/dfuibe_installer
|
||||
|
||||
pre-configure:
|
||||
${CP} ${FILESDIR}/Config ${WRKDIR}/${DISTNAME}/installer/src/Config
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} -o root -g wheel -m 555 ${WRKSRC}/dfuibe_installer ${PREFIX}/sbin
|
||||
${MKDIR} -p ${SHAREDIR}
|
||||
|
|
|
@ -1,22 +1,18 @@
|
|||
# $NetBSD: Makefile,v 1.1.1.1 2007/06/01 20:16:15 hoka_adam Exp $
|
||||
# $NetBSD: Makefile,v 1.2 2007/06/02 03:34:43 hoka_adam Exp $
|
||||
|
||||
DISTNAME= bsdinstaller-20070528
|
||||
PKGNAME= dfuibe_lua-1.0
|
||||
CATEGORIES= sysutils
|
||||
|
||||
MASTER_SITES= http://rnrdoctor.sytes.net/~replaced/bsdinstaller/
|
||||
.include "../../wip/bsdinstaller/bsdinstaller.mk"
|
||||
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/installer/src/backend/lua
|
||||
|
||||
MAINTAINER= adam.hoka@gmail.com
|
||||
HOMEPAGE= http://www.bsdinstaller.com/
|
||||
COMMENT= DFUI Lua backend
|
||||
|
||||
FILESDIR= ${.CURDIR}/../../wip/bsdinstaller/files
|
||||
|
||||
DFUIBE_LUA_DIR= ${PREFIX}/share/dfuibe_lua
|
||||
|
||||
pre-configure:
|
||||
${CP} ${FILESDIR}/Config ${WRKDIR}/${DISTNAME}/installer/src/Config
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${DFUIBE_LUA_DIR}
|
||||
${INSTALL_DATA_DIR} ${DFUIBE_LUA_DIR}/lib
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
# $NetBSD: Makefile,v 1.3 2007/06/02 00:55:59 hoka_adam Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2007/06/02 03:34:43 hoka_adam Exp $
|
||||
|
||||
DISTNAME= bsdinstaller-20070528
|
||||
PKGNAME= dfuife_curses-1.5.1
|
||||
CATEGORIES= sysutils
|
||||
|
||||
MASTER_SITES= http://rnrdoctor.sytes.net/~replaced/bsdinstaller/
|
||||
.include "../../wip/bsdinstaller/bsdinstaller.mk"
|
||||
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/installer/src/frontends/ncurses
|
||||
|
||||
MAINTAINER= adam.hoka@gmail.com
|
||||
|
@ -13,11 +13,6 @@ COMMENT= DFUI curses frontend
|
|||
|
||||
USE_NCURSES= yes
|
||||
|
||||
FILESDIR= ${.CURDIR}/../../wip/bsdinstaller/files
|
||||
|
||||
pre-configure:
|
||||
${CP} ${FILESDIR}/Config ${WRKDIR}/${DISTNAME}/installer/src/Config
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} -p ${PREFIX}/share/dfuife_curses
|
||||
${INSTALL_PROGRAM} -o root -g wheel ${WRKSRC}/dfuife_curses ${PREFIX}/sbin/
|
||||
|
|
|
@ -1,21 +1,16 @@
|
|||
# $NetBSD: Makefile,v 1.5 2007/05/30 22:04:02 hoka_adam Exp $
|
||||
# $NetBSD: Makefile,v 1.6 2007/06/02 03:34:43 hoka_adam Exp $
|
||||
|
||||
DISTNAME= bsdinstaller-20070528
|
||||
PKGNAME= libdfui-4.99.1
|
||||
CATEGORIES= devel
|
||||
|
||||
MASTER_SITES= http://rnrdoctor.sytes.net/~replaced/bsdinstaller/
|
||||
.include "../../wip/bsdinstaller/bsdinstaller.mk"
|
||||
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/installer/src/lib/libdfui
|
||||
|
||||
MAINTAINER= adam.hoka@gmail.com
|
||||
HOMEPAGE= http://www.bsdinstaller.com/
|
||||
COMMENT= Abstract user interface protocol library
|
||||
|
||||
FILESDIR= ${.CURDIR}/../../wip/bsdinstaller/files
|
||||
|
||||
post-extract:
|
||||
${CP} ${FILESDIR}/Config ${WRKDIR}/${DISTNAME}/installer/src/Config
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} -p ${PREFIX}/include/dfui
|
||||
${INSTALL_DATA} -o root -g wheel -m 444 ${WRKSRC}/libdfui.a ${PREFIX}/lib/
|
||||
|
|
|
@ -1,28 +1,23 @@
|
|||
# $NetBSD: Makefile,v 1.7 2007/06/02 01:14:24 hoka_adam Exp $
|
||||
# $NetBSD: Makefile,v 1.8 2007/06/02 03:34:43 hoka_adam Exp $
|
||||
|
||||
DISTNAME= bsdinstaller-20070528
|
||||
PKGNAME= libinstaller-5.99.1
|
||||
PKGREVISION= 1
|
||||
CATEGORIES= devel
|
||||
|
||||
MASTER_SITES= http://rnrdoctor.sytes.net/~replaced/bsdinstaller/
|
||||
.include "../../wip/bsdinstaller/bsdinstaller.mk"
|
||||
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/installer/src/lib/libinstaller
|
||||
|
||||
MAINTAINER= adam.hoka@gmail.com
|
||||
HOMEPAGE= http://www.bsdinstaller.com/
|
||||
COMMENT= BSD Installer library
|
||||
|
||||
FILESDIR= ${.CURDIR}/../../wip/bsdinstaller/files
|
||||
|
||||
SUBST_CLASSES+= conf
|
||||
SUBST_STAGE.conf= post-patch
|
||||
SUBST_FILES.conf= functions.c
|
||||
SUBST_SED.conf= -e "s|@@prefix@@|${PREFIX}|g"
|
||||
SUBST_MESSAGE.conf= Fixing hardcoded paths.
|
||||
|
||||
pre-configure:
|
||||
${CP} ${FILESDIR}/Config ${WRKDIR}/${DISTNAME}/installer/src/Config
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} -p ${PREFIX}/include/installer
|
||||
${INSTALL_DATA} -o root -g wheel -m 444 ${WRKSRC}/libinstaller.a ${PREFIX}/lib/
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
# $NetBSD: Makefile,v 1.1.1.1 2007/06/01 20:11:56 hoka_adam Exp $
|
||||
# $NetBSD: Makefile,v 1.2 2007/06/02 03:34:43 hoka_adam Exp $
|
||||
|
||||
DISTNAME= bsdinstaller-20070528
|
||||
PKGNAME= lua50-app-0.1
|
||||
CATEGORIES= devel
|
||||
|
||||
MASTER_SITES= http://rnrdoctor.sytes.net/~replaced/bsdinstaller/
|
||||
.include "../../wip/bsdinstaller/bsdinstaller.mk"
|
||||
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/installer/src/lib/lua/app
|
||||
|
||||
MAINTAINER= adam.hoka@gmail.com
|
||||
|
|
|
@ -1,16 +1,15 @@
|
|||
# $NetBSD: Makefile,v 1.1.1.1 2007/05/31 19:31:15 hoka_adam Exp $
|
||||
# $NetBSD: Makefile,v 1.2 2007/06/02 03:34:43 hoka_adam Exp $
|
||||
|
||||
DISTNAME= bsdinstaller-20070528
|
||||
PKGNAME= lua50-dfui-0.1
|
||||
CATEGORIES= devel
|
||||
|
||||
MASTER_SITES= http://rnrdoctor.sytes.net/~replaced/bsdinstaller/
|
||||
.include "../../wip/bsdinstaller/bsdinstaller.mk"
|
||||
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/installer/src/lib/lua/dfui/
|
||||
|
||||
MAINTAINER= adam.hoka@gmail.com
|
||||
COMMENT= DFUI binding for Lua 5.0.x
|
||||
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} -o root -g wheel -m 444 ${WRKSRC}/ldfui.so ${PREFIX}/lib/lua/5.0/
|
||||
${INSTALL_DATA} -o root -g wheel -m 444 ${WRKSRC}/dfui.lua ${PREFIX}/share/lua/5.0/
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
# $NetBSD: Makefile,v 1.1.1.1 2007/06/01 20:13:26 hoka_adam Exp $
|
||||
# $NetBSD: Makefile,v 1.2 2007/06/02 03:34:43 hoka_adam Exp $
|
||||
|
||||
DISTNAME= bsdinstaller-20070528
|
||||
PKGNAME= lua50-filename-0.1
|
||||
CATEGORIES= devel
|
||||
|
||||
MASTER_SITES= http://rnrdoctor.sytes.net/~replaced/bsdinstaller/
|
||||
.include "../../wip/bsdinstaller/bsdinstaller.mk"
|
||||
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/installer/src/lib/lua/filename
|
||||
|
||||
MAINTAINER= adam.hoka@gmail.com
|
||||
|
|
|
@ -1,17 +1,13 @@
|
|||
# $NetBSD: Makefile,v 1.3 2007/06/01 18:00:10 hoka_adam Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2007/06/02 03:34:43 hoka_adam Exp $
|
||||
|
||||
DISTNAME= bsdinstaller-20070528
|
||||
PKGNAME= lua50-pty-0.1
|
||||
CATEGORIES= devel
|
||||
|
||||
MASTER_SITES= http://rnrdoctor.sytes.net/~replaced/bsdinstaller/
|
||||
.include "../../wip/bsdinstaller/bsdinstaller.mk"
|
||||
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/installer/src/lib/lua/pty
|
||||
|
||||
FILESDIR= ${.CURDIR}/../../wip/bsdinstaller/files
|
||||
|
||||
post-extract:
|
||||
${CP} ${FILESDIR}/Config ${WRKDIR}/${DISTNAME}/installer/src/Config
|
||||
|
||||
MAINTAINER= adam.hoka@gmail.com
|
||||
COMMENT= Pty (pseudo-terminal) bindings for Lua 5.0.x
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# $NetBSD: Makefile,v 1.2 2007/06/01 18:00:07 hoka_adam Exp $
|
||||
#
|
||||
# $NetBSD: Makefile,v 1.3 2007/06/02 03:34:43 hoka_adam Exp $
|
||||
|
||||
DISTNAME= lua-5.0.3
|
||||
PKGNAME= lua50-5.0.3
|
||||
CATEGORIES= lang
|
||||
MASTER_SITES= ftp://ftp.tecgraf.puc-rio.br/pub/lua/ \
|
||||
ftp://ftp.ntua.gr/pub/lang/lua/ \
|
||||
|
|
|
@ -1,19 +1,19 @@
|
|||
# $NetBSD: buildlink3.mk,v 1.1.1.1 2007/05/31 02:30:17 hoka_adam Exp $
|
||||
# $NetBSD: buildlink3.mk,v 1.2 2007/06/02 03:34:43 hoka_adam Exp $
|
||||
|
||||
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
|
||||
LUA_BUILDLINK3_MK:= ${LUA_BUILDLINK3_MK}+
|
||||
LUA50_BUILDLINK3_MK:= ${LUA50_BUILDLINK3_MK}+
|
||||
|
||||
.if ${BUILDLINK_DEPTH} == "+"
|
||||
BUILDLINK_DEPENDS+= lua
|
||||
BUILDLINK_DEPENDS+= lua50
|
||||
.endif
|
||||
|
||||
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlua}
|
||||
BUILDLINK_PACKAGES+= lua
|
||||
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}lua
|
||||
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlua50}
|
||||
BUILDLINK_PACKAGES+= lua50
|
||||
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}lua50
|
||||
|
||||
.if ${LUA_BUILDLINK3_MK} == "+"
|
||||
BUILDLINK_API_DEPENDS.lua+= lua>=5.0.3
|
||||
BUILDLINK_PKGSRCDIR.lua?= ../../wip/lua50
|
||||
.endif # LUA_BUILDLINK3_MK
|
||||
.if ${LUA50_BUILDLINK3_MK} == "+"
|
||||
BUILDLINK_API_DEPENDS.lua50+= lua50>=5.0.3
|
||||
BUILDLINK_PKGSRCDIR.lua50?= ../../wip/lua50
|
||||
.endif # LUA50_BUILDLINK3_MK
|
||||
|
||||
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|
||||
|
|
Loading…
Reference in a new issue