Do not hardcode /usr/local,

Remove KDE2-only cruft.
This commit is contained in:
margarida 2003-05-12 04:28:52 +00:00
parent 158a1b91e0
commit 0b03fd614a
3 changed files with 5 additions and 20 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.15 2003/01/21 01:48:34 margarida Exp $
# $OpenBSD: Makefile,v 1.16 2003/05/12 04:28:52 margarida Exp $
COMMENT= "converts MSWord Documents to ASCII Text and PostScript"
@ -17,7 +17,7 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MAKE_FLAGS= CC="${CC}" CFLAGS="${CFLAGS} -Wall -pedantic -DNDEBUG" \
MAKE_FLAGS= CC="${CC}" CFLAGS="${CFLAGS} -Wall -DNDEBUG" \
LD="${CC}"
NO_REGRESS= Yes
@ -26,18 +26,11 @@ DOCS= FAQ Netscape QandA ReadMe
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/antiword ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/Unix-only/KDE2-only/kantiword.sh \
${PREFIX}/bin/antiword-kde-dnd.sh
${INSTALL_MAN} ${WRKSRC}/Docs/antiword.1 ${PREFIX}/man/man1
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/antiword
${INSTALL_DATA_DIR} ${PREFIX}/share/antiword/kde
${INSTALL_DATA_DIR} ${PREFIX}/share/antiword
cd ${WRKSRC}/Docs; ${INSTALL_DATA} ${DOCS} \
${PREFIX}/share/doc/antiword
${INSTALL_DATA} ${WRKSRC}/Unix-only/KDE2-only/Antiword.desktop.* \
${PREFIX}/share/antiword/kde
${INSTALL_DATA} ${WRKSRC}/Unix-only/KDE2-only/*.png \
${PREFIX}/share/antiword
${INSTALL_DATA} ${WRKSRC}/Resources/* \
${PREFIX}/share/antiword

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-antiword_h,v 1.5 2002/09/08 07:55:26 mark Exp $
$OpenBSD: patch-antiword_h,v 1.6 2003/05/12 04:28:52 margarida Exp $
--- antiword.h.orig Thu Jun 20 02:16:22 2002
+++ antiword.h Sun Sep 8 00:49:28 2002
@@ -177,7 +177,7 @@
@ -6,7 +6,7 @@ $OpenBSD: patch-antiword_h,v 1.5 2002/09/08 07:55:26 mark Exp $
#define FONTNAMES_FILE "fontnames"
#else /* All others */
-#define GLOBAL_ANTIWORD_DIR "/usr/share/antiword"
+#define GLOBAL_ANTIWORD_DIR "/usr/local/share/antiword"
+#define GLOBAL_ANTIWORD_DIR "${PREFIX}/share/antiword"
#define ANTIWORD_DIR ".antiword"
#define FONTNAMES_FILE "fontnames"
#endif /* __dos */

View File

@ -1,6 +1,5 @@
@comment $OpenBSD: PLIST,v 1.7 2003/01/21 01:48:34 margarida Exp $
@comment $OpenBSD: PLIST,v 1.8 2003/05/12 04:28:52 margarida Exp $
bin/antiword
bin/antiword-kde-dnd.sh
man/man1/antiword.1
share/antiword/8859-1.txt
share/antiword/8859-10.txt
@ -29,19 +28,12 @@ share/antiword/cp850.txt
share/antiword/cp852.txt
share/antiword/fontnames
share/antiword/fontnames.russian
share/antiword/hi32-app-antiword.png
share/antiword/hi48-app-antiword.png
share/antiword/kde/Antiword.desktop.eu
share/antiword/kde/Antiword.desktop.us
share/antiword/koi8-r.txt
share/antiword/koi8-u.txt
share/antiword/lo16-app-antiword.png
share/antiword/lo32-app-antiword.png
share/antiword/roman.txt
share/doc/antiword/FAQ
share/doc/antiword/Netscape
share/doc/antiword/QandA
share/doc/antiword/ReadMe
@dirrm share/doc/antiword
@dirrm share/antiword/kde
@dirrm share/antiword