don't change SYSCONFDIR, use CONFDIR instead
This commit is contained in:
parent
5077a1bd2e
commit
e2d67d3319
@ -1,4 +1,4 @@
|
|||||||
# $OpenBSD: Makefile,v 1.26 2002/10/04 19:21:48 naddy Exp $
|
# $OpenBSD: Makefile,v 1.27 2003/05/13 22:53:58 sturm Exp $
|
||||||
# $FreeBSD: ports/devel/cvsweb/Makefile,v 1.28 2000/09/23 20:48:45 knu Exp $
|
# $FreeBSD: ports/devel/cvsweb/Makefile,v 1.28 2000/09/23 20:48:45 knu Exp $
|
||||||
|
|
||||||
COMMENT= "WWW CGI script to browse CVS repository trees"
|
COMMENT= "WWW CGI script to browse CVS repository trees"
|
||||||
@ -22,22 +22,24 @@ NO_BUILD= Yes
|
|||||||
NO_REGRESS= Yes
|
NO_REGRESS= Yes
|
||||||
|
|
||||||
PREFIX= /var/www
|
PREFIX= /var/www
|
||||||
SYSCONFDIR= ${PREFIX}/conf
|
CONFDIR= ${PREFIX}/conf
|
||||||
|
|
||||||
CONFFILES= cvsweb.conf cvsweb.conf-freebsd cvsweb.conf-netbsd \
|
CONFFILES= cvsweb.conf cvsweb.conf-freebsd cvsweb.conf-netbsd \
|
||||||
cvsweb.conf-openbsd cvsweb.conf-ruby
|
cvsweb.conf-openbsd cvsweb.conf-ruby
|
||||||
ICONS= back.gif dir.gif text.gif \
|
ICONS= back.gif dir.gif text.gif \
|
||||||
miniback.gif minidir.gif minitext.gif
|
miniback.gif minidir.gif minitext.gif
|
||||||
|
|
||||||
|
SUBST_VARS= CONFDIR
|
||||||
|
|
||||||
do-configure:
|
do-configure:
|
||||||
@perl -i -pe 's@%%SYSCONFDIR%%@${SYSCONFDIR}@g' ${WRKSRC}/cvsweb.cgi
|
@perl -i -pe 's@%%SYSCONFDIR%%@${CONFDIR}@g' ${WRKSRC}/cvsweb.cgi
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${INSTALL_SCRIPT_DIR} ${PREFIX}/cgi-bin
|
${INSTALL_SCRIPT_DIR} ${PREFIX}/cgi-bin
|
||||||
${INSTALL_SCRIPT} ${WRKSRC}/cvsweb.cgi ${PREFIX}/cgi-bin/cvsweb
|
${INSTALL_SCRIPT} ${WRKSRC}/cvsweb.cgi ${PREFIX}/cgi-bin/cvsweb
|
||||||
${INSTALL_DATA_DIR} ${SYSCONFDIR}/cvsweb
|
${INSTALL_DATA_DIR} ${CONFDIR}/cvsweb
|
||||||
.for file in ${CONFFILES}
|
.for file in ${CONFFILES}
|
||||||
${INSTALL_DATA} ${WRKSRC}/${file} ${SYSCONFDIR}/cvsweb/${file}.dist
|
${INSTALL_DATA} ${WRKSRC}/${file} ${CONFDIR}/cvsweb/${file}.dist
|
||||||
.endfor
|
.endfor
|
||||||
${INSTALL_DATA_DIR} ${PREFIX}/icons/cvsweb
|
${INSTALL_DATA_DIR} ${PREFIX}/icons/cvsweb
|
||||||
.for file in ${ICONS}
|
.for file in ${ICONS}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# $OpenBSD: DEINSTALL,v 1.2 2001/01/03 00:51:41 naddy Exp $
|
# $OpenBSD: DEINSTALL,v 1.3 2003/05/13 22:53:59 sturm Exp $
|
||||||
#
|
#
|
||||||
# De-installation setup of cvsweb
|
# De-installation setup of cvsweb
|
||||||
|
|
||||||
@ -8,7 +8,7 @@
|
|||||||
set -e
|
set -e
|
||||||
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
||||||
PREFIX=${PKG_PREFIX:-/var/www}
|
PREFIX=${PKG_PREFIX:-/var/www}
|
||||||
CONFIG_DIR=${SYSCONFDIR}/cvsweb
|
CONFIG_DIR=${CONFDIR}/cvsweb
|
||||||
|
|
||||||
# Function: tell the user what they need to do to delete the port completely
|
# Function: tell the user what they need to do to delete the port completely
|
||||||
#
|
#
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# $OpenBSD: INSTALL,v 1.3 2002/04/26 03:35:34 pvalchev Exp $
|
# $OpenBSD: INSTALL,v 1.4 2003/05/13 22:53:59 sturm Exp $
|
||||||
#
|
#
|
||||||
# Pre/post-installation setup of cvsweb
|
# Pre/post-installation setup of cvsweb
|
||||||
|
|
||||||
@ -8,7 +8,7 @@
|
|||||||
set -e
|
set -e
|
||||||
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
||||||
PREFIX=${PKG_PREFIX:-/var/www}
|
PREFIX=${PKG_PREFIX:-/var/www}
|
||||||
CONFIG_DIR=${SYSCONFDIR}/cvsweb
|
CONFIG_DIR=${CONFDIR}/cvsweb
|
||||||
CONFIG_FILE=$CONFIG_DIR/cvsweb.conf
|
CONFIG_FILE=$CONFIG_DIR/cvsweb.conf
|
||||||
SAMPLE_CONFIG_FILE=$CONFIG_FILE.dist
|
SAMPLE_CONFIG_FILE=$CONFIG_FILE.dist
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# $OpenBSD: Makefile,v 1.20 2002/10/27 17:21:39 naddy Exp $
|
# $OpenBSD: Makefile,v 1.21 2003/05/13 22:53:58 sturm Exp $
|
||||||
|
|
||||||
COMMENT= "new MH mail handling program"
|
COMMENT= "new MH mail handling program"
|
||||||
|
|
||||||
@ -13,11 +13,11 @@ PERMIT_PACKAGE_FTP= Yes
|
|||||||
PERMIT_DISTFILES_CDROM= Yes
|
PERMIT_DISTFILES_CDROM= Yes
|
||||||
PERMIT_DISTFILES_FTP= Yes
|
PERMIT_DISTFILES_FTP= Yes
|
||||||
|
|
||||||
CONFIGURE_STYLE= gnu dest
|
CONFIGURE_STYLE= gnu dest old
|
||||||
SYSCONFDIR= ${PREFIX}/lib/nmh
|
|
||||||
CONFIGURE_ARGS= --libdir='$${exec_prefix}/libexec' \
|
CONFIGURE_ARGS= --libdir='$${exec_prefix}/libexec' \
|
||||||
--with-krb4=/usr \
|
--with-krb4=/usr \
|
||||||
--enable-nmh-pop
|
--enable-nmh-pop \
|
||||||
|
--sysconfdir='$${${DESTDIRNAME}}${PREFIX}/lib/nmh'
|
||||||
|
|
||||||
NO_REGRESS= Yes
|
NO_REGRESS= Yes
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# $OpenBSD: Makefile,v 1.12 2003/04/14 08:26:11 kevlo Exp $
|
# $OpenBSD: Makefile,v 1.13 2003/05/13 22:53:58 sturm Exp $
|
||||||
|
|
||||||
COMMENT= "highly configurable webmail client"
|
COMMENT= "highly configurable webmail client"
|
||||||
|
|
||||||
@ -30,7 +30,8 @@ NO_REGRESS= Yes
|
|||||||
WRKDIST= ${WRKDIR}
|
WRKDIST= ${WRKDIR}
|
||||||
|
|
||||||
PREFIX= /var/www
|
PREFIX= /var/www
|
||||||
SYSCONFDIR= ${PREFIX}/conf
|
CONFDIR= ${PREFIX}/conf
|
||||||
|
SUBST_VARS= CONFDIR
|
||||||
|
|
||||||
SCRIPTFILES= openwebmail-abook.pl openwebmail-advsearch.pl \
|
SCRIPTFILES= openwebmail-abook.pl openwebmail-advsearch.pl \
|
||||||
openwebmail-cal.pl openwebmail-folder.pl \
|
openwebmail-cal.pl openwebmail-folder.pl \
|
||||||
@ -42,7 +43,7 @@ SCRIPTFILES= openwebmail-abook.pl openwebmail-advsearch.pl \
|
|||||||
|
|
||||||
do-configure:
|
do-configure:
|
||||||
.for file in ${SCRIPTFILES}
|
.for file in ${SCRIPTFILES}
|
||||||
@perl -pi -e 's@%%SYSCONFDIR%%@${SYSCONFDIR}@g' \
|
@perl -pi -e 's@%%SYSCONFDIR%%@${CONFDIR}@g' \
|
||||||
${WRKSRC}/cgi-bin/openwebmail/${file}
|
${WRKSRC}/cgi-bin/openwebmail/${file}
|
||||||
.endfor
|
.endfor
|
||||||
@cd ${WRKSRC} && cp -Rp data htdocs
|
@cd ${WRKSRC} && cp -Rp data htdocs
|
||||||
@ -53,7 +54,7 @@ do-configure:
|
|||||||
|
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${INSTALL_DATA_DIR} ${SYSCONFDIR}/openwebmail
|
${INSTALL_DATA_DIR} ${CONFDIR}/openwebmail
|
||||||
${TAR} -C ${WRKSRC} -cpf- cgi-bin conf htdocs | \
|
${TAR} -C ${WRKSRC} -cpf- cgi-bin conf htdocs | \
|
||||||
${TAR} -C ${PREFIX} -xpf-
|
${TAR} -C ${PREFIX} -xpf-
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# $OpenBSD: DEINSTALL,v 1.1.1.1 2002/02/05 04:53:17 kevlo Exp $
|
# $OpenBSD: DEINSTALL,v 1.2 2003/05/13 22:53:58 sturm Exp $
|
||||||
#
|
#
|
||||||
# De-installation setup of openwebmail
|
# De-installation setup of openwebmail
|
||||||
|
|
||||||
@ -7,7 +7,7 @@
|
|||||||
#
|
#
|
||||||
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
||||||
PREFIX=${PKG_PREFIX:-/var/www}
|
PREFIX=${PKG_PREFIX:-/var/www}
|
||||||
CONFIG_DIR=${SYSCONFDIR}/openwebmail
|
CONFIG_DIR=${CONFDIR}/openwebmail
|
||||||
|
|
||||||
# Function: tell the user what they need to do to delete the port completely
|
# Function: tell the user what they need to do to delete the port completely
|
||||||
#
|
#
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# $OpenBSD: INSTALL,v 1.7 2003/04/14 08:26:25 kevlo Exp $
|
# $OpenBSD: INSTALL,v 1.8 2003/05/13 22:53:58 sturm Exp $
|
||||||
#
|
#
|
||||||
# Pre/post-installation setup of openwebmail
|
# Pre/post-installation setup of openwebmail
|
||||||
|
|
||||||
@ -7,7 +7,7 @@
|
|||||||
#
|
#
|
||||||
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
||||||
PREFIX=${PKG_PREFIX:-/var/www}
|
PREFIX=${PKG_PREFIX:-/var/www}
|
||||||
CONFIG_DIR=${SYSCONFDIR}/openwebmail
|
CONFIG_DIR=${CONFDIR}/openwebmail
|
||||||
CONFIG_FILE=$CONFIG_DIR/openwebmail.conf
|
CONFIG_FILE=$CONFIG_DIR/openwebmail.conf
|
||||||
CGI_DIR=${PREFIX}/cgi-bin/openwebmail
|
CGI_DIR=${PREFIX}/cgi-bin/openwebmail
|
||||||
SAMPLE_CONFIG_FILE=$CONFIG_FILE.default
|
SAMPLE_CONFIG_FILE=$CONFIG_FILE.default
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# $OpenBSD: Makefile,v 1.55 2002/11/22 11:53:58 wilfried Exp $
|
# $OpenBSD: Makefile,v 1.56 2003/05/13 22:53:59 sturm Exp $
|
||||||
|
|
||||||
COMMENT= 'window manager that emulates NEXTSTEP(tm)'
|
COMMENT= 'window manager that emulates NEXTSTEP(tm)'
|
||||||
COMMENT-lang= "language subpackage for Window Maker"
|
COMMENT-lang= "language subpackage for Window Maker"
|
||||||
@ -24,18 +24,19 @@ EXTRACT_SUFX= .tar.bz2
|
|||||||
NO_REGRESS= Yes
|
NO_REGRESS= Yes
|
||||||
SEPARATE_BUILD= concurrent
|
SEPARATE_BUILD= concurrent
|
||||||
USE_X11= Yes
|
USE_X11= Yes
|
||||||
CONFIGURE_STYLE= gnu
|
CONFIGURE_STYLE= gnu old
|
||||||
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
|
||||||
--enable-static \
|
--enable-static \
|
||||||
--with-pixmapdir="${PREFIX}/share/WindowMaker/Pixmaps" \
|
--with-pixmapdir="${PREFIX}/share/WindowMaker/Pixmaps" \
|
||||||
--with-nlsdir="${LOCALBASE}/share/locale" \
|
--with-nlsdir="${LOCALBASE}/share/locale" \
|
||||||
--disable-dependency-tracking \
|
--disable-dependency-tracking \
|
||||||
--enable-gnome \
|
--enable-gnome \
|
||||||
--enable-kde
|
--enable-kde \
|
||||||
|
--sysconfdir="${CONFDIR}"
|
||||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/libpng" LIBS="-L${LOCALBASE}/lib" \
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/libpng" LIBS="-L${LOCALBASE}/lib" \
|
||||||
LINGUAS='bg cs da de el es et fi fr gl hr hu it ja ko ms nl no pl pt ro ru sk sv tr zh_CN zh_TW.Big5'
|
LINGUAS='bg cs da de el es et fi fr gl hr hu it ja ko ms nl no pl pt ro ru sk sv tr zh_CN zh_TW.Big5'
|
||||||
|
|
||||||
SYSCONFDIR= ${PREFIX}/share/WindowMaker/Defaults
|
CONFDIR= ${PREFIX}/share/WindowMaker/Defaults
|
||||||
|
|
||||||
MULTI_PACKAGES= -lang
|
MULTI_PACKAGES= -lang
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user