diff --git a/emulators/wine/Makefile b/emulators/wine/Makefile index 69e3238eefd..a615b29b663 100644 --- a/emulators/wine/Makefile +++ b/emulators/wine/Makefile @@ -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 diff --git a/emulators/wine/pkg/PLIST b/emulators/wine/pkg/PLIST index 3fedef57771..7bc98f981a4 100644 --- a/emulators/wine/pkg/PLIST +++ b/emulators/wine/pkg/PLIST @@ -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