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 $
|
||||
|
||||
COMMENT= "WWW CGI script to browse CVS repository trees"
|
||||
@ -22,22 +22,24 @@ NO_BUILD= Yes
|
||||
NO_REGRESS= Yes
|
||||
|
||||
PREFIX= /var/www
|
||||
SYSCONFDIR= ${PREFIX}/conf
|
||||
CONFDIR= ${PREFIX}/conf
|
||||
|
||||
CONFFILES= cvsweb.conf cvsweb.conf-freebsd cvsweb.conf-netbsd \
|
||||
cvsweb.conf-openbsd cvsweb.conf-ruby
|
||||
ICONS= back.gif dir.gif text.gif \
|
||||
miniback.gif minidir.gif minitext.gif
|
||||
|
||||
SUBST_VARS= CONFDIR
|
||||
|
||||
do-configure:
|
||||
@perl -i -pe 's@%%SYSCONFDIR%%@${SYSCONFDIR}@g' ${WRKSRC}/cvsweb.cgi
|
||||
@perl -i -pe 's@%%SYSCONFDIR%%@${CONFDIR}@g' ${WRKSRC}/cvsweb.cgi
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT_DIR} ${PREFIX}/cgi-bin
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/cvsweb.cgi ${PREFIX}/cgi-bin/cvsweb
|
||||
${INSTALL_DATA_DIR} ${SYSCONFDIR}/cvsweb
|
||||
${INSTALL_DATA_DIR} ${CONFDIR}/cvsweb
|
||||
.for file in ${CONFFILES}
|
||||
${INSTALL_DATA} ${WRKSRC}/${file} ${SYSCONFDIR}/cvsweb/${file}.dist
|
||||
${INSTALL_DATA} ${WRKSRC}/${file} ${CONFDIR}/cvsweb/${file}.dist
|
||||
.endfor
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/icons/cvsweb
|
||||
.for file in ${ICONS}
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/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
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
set -e
|
||||
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
||||
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
|
||||
#
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/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
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
set -e
|
||||
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
||||
PREFIX=${PKG_PREFIX:-/var/www}
|
||||
CONFIG_DIR=${SYSCONFDIR}/cvsweb
|
||||
CONFIG_DIR=${CONFDIR}/cvsweb
|
||||
CONFIG_FILE=$CONFIG_DIR/cvsweb.conf
|
||||
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"
|
||||
|
||||
@ -13,11 +13,11 @@ PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
CONFIGURE_STYLE= gnu dest
|
||||
SYSCONFDIR= ${PREFIX}/lib/nmh
|
||||
CONFIGURE_STYLE= gnu dest old
|
||||
CONFIGURE_ARGS= --libdir='$${exec_prefix}/libexec' \
|
||||
--with-krb4=/usr \
|
||||
--enable-nmh-pop
|
||||
--enable-nmh-pop \
|
||||
--sysconfdir='$${${DESTDIRNAME}}${PREFIX}/lib/nmh'
|
||||
|
||||
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"
|
||||
|
||||
@ -30,7 +30,8 @@ NO_REGRESS= Yes
|
||||
WRKDIST= ${WRKDIR}
|
||||
|
||||
PREFIX= /var/www
|
||||
SYSCONFDIR= ${PREFIX}/conf
|
||||
CONFDIR= ${PREFIX}/conf
|
||||
SUBST_VARS= CONFDIR
|
||||
|
||||
SCRIPTFILES= openwebmail-abook.pl openwebmail-advsearch.pl \
|
||||
openwebmail-cal.pl openwebmail-folder.pl \
|
||||
@ -42,7 +43,7 @@ SCRIPTFILES= openwebmail-abook.pl openwebmail-advsearch.pl \
|
||||
|
||||
do-configure:
|
||||
.for file in ${SCRIPTFILES}
|
||||
@perl -pi -e 's@%%SYSCONFDIR%%@${SYSCONFDIR}@g' \
|
||||
@perl -pi -e 's@%%SYSCONFDIR%%@${CONFDIR}@g' \
|
||||
${WRKSRC}/cgi-bin/openwebmail/${file}
|
||||
.endfor
|
||||
@cd ${WRKSRC} && cp -Rp data htdocs
|
||||
@ -53,7 +54,7 @@ do-configure:
|
||||
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${SYSCONFDIR}/openwebmail
|
||||
${INSTALL_DATA_DIR} ${CONFDIR}/openwebmail
|
||||
${TAR} -C ${WRKSRC} -cpf- cgi-bin conf htdocs | \
|
||||
${TAR} -C ${PREFIX} -xpf-
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/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
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
#
|
||||
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
||||
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
|
||||
#
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/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
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
#
|
||||
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
||||
PREFIX=${PKG_PREFIX:-/var/www}
|
||||
CONFIG_DIR=${SYSCONFDIR}/openwebmail
|
||||
CONFIG_DIR=${CONFDIR}/openwebmail
|
||||
CONFIG_FILE=$CONFIG_DIR/openwebmail.conf
|
||||
CGI_DIR=${PREFIX}/cgi-bin/openwebmail
|
||||
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-lang= "language subpackage for Window Maker"
|
||||
@ -24,18 +24,19 @@ EXTRACT_SUFX= .tar.bz2
|
||||
NO_REGRESS= Yes
|
||||
SEPARATE_BUILD= concurrent
|
||||
USE_X11= Yes
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_STYLE= gnu old
|
||||
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
|
||||
--enable-static \
|
||||
--with-pixmapdir="${PREFIX}/share/WindowMaker/Pixmaps" \
|
||||
--with-nlsdir="${LOCALBASE}/share/locale" \
|
||||
--disable-dependency-tracking \
|
||||
--enable-gnome \
|
||||
--enable-kde
|
||||
--enable-kde \
|
||||
--sysconfdir="${CONFDIR}"
|
||||
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'
|
||||
|
||||
SYSCONFDIR= ${PREFIX}/share/WindowMaker/Defaults
|
||||
CONFDIR= ${PREFIX}/share/WindowMaker/Defaults
|
||||
|
||||
MULTI_PACKAGES= -lang
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user