this made me physically sick, so just an as minor as possible diff:
-> in post-install don't cp to /etc, but cp in PLIST to SYSCONFDIR
This commit is contained in:
parent
cd6614a681
commit
ef0f2c1f3f
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.26 2003/03/30 12:27:55 miod Exp $
|
||||
# $OpenBSD: Makefile,v 1.27 2003/05/12 22:19:11 sturm Exp $
|
||||
|
||||
COMMENT= "MS-Windows 3.1/95/NT emulator for Unix (Alpha release)"
|
||||
|
||||
@ -27,6 +27,8 @@ post-configure:
|
||||
cd ${WRKSRC} && make depend
|
||||
|
||||
post-install:
|
||||
[ -f /etc/wine.conf ] || cp ${WRKSRC}/wine.ini /etc/wine.conf
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/wine
|
||||
${INSTALL_DATA} ${WRKSRC}/wine.ini \
|
||||
${PREFIX}/share/examples/wine/wine.conf
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.6 2003/03/30 12:27:58 miod Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.7 2003/05/12 22:19:11 sturm Exp $
|
||||
@exec echo "This package may need further setup. Be sure to read the package description"
|
||||
@exec echo "carefully."
|
||||
bin/wine
|
||||
@ -10,4 +10,7 @@ include/wine/winuser.h
|
||||
lib/libwine.a
|
||||
lib/wine.sym
|
||||
man/man1/wine.1
|
||||
share/examples/wine/wine.conf
|
||||
@exec if [ ! -f ${SYSCONFDIR}/wine.conf ]; then cp %D/%F ${SYSCONFDIR}; fi
|
||||
@dirrm share/examples/wine
|
||||
@dirrm include/wine
|
||||
|
Loading…
x
Reference in New Issue
Block a user