Don't assume a specific depth for prefix and don't hardcode paths either.

From maintainer Nils Nordman <nino@nforced.com>.
This commit is contained in:
naddy 2001-09-20 19:26:32 +00:00
parent e91e33a83d
commit 0212ed7bf9
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.7 2001/09/20 18:39:13 naddy Exp $
# $OpenBSD: Makefile,v 1.8 2001/09/20 19:26:32 naddy Exp $
COMMENT= "libraries for the GNOME project"
V= 1.2.13
@ -36,6 +36,6 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
post-install:
@${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gnome-libs; \
cp -rp ${PREFIX}/../../etc/* ${PREFIX}/share/examples/gnome-libs/
cp -rp ${WRKINST}/${SYSCONFDIR}/* ${PREFIX}/share/examples/gnome-libs/
.include <bsd.port.mk>

View File

@ -1,6 +1,6 @@
#!/bin/sh
#
# $OpenBSD: INSTALL,v 1.2 2001/09/18 21:42:04 naddy Exp $
# $OpenBSD: INSTALL,v 1.3 2001/09/20 19:26:32 naddy Exp $
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
@ -14,7 +14,7 @@ do_post() {
echo
echo "+--------------- ${P_NAME}"
install -d /etc/sound/events
install -d ${SYSCONFDIR}/sound/events
# install or take note of existing config files
for f in \
mime-magic \