Mark this port SHARED_ONLY and merge PLISTs.

from Brad
This commit is contained in:
ajacoutot 2012-04-23 06:40:22 +00:00
parent abc13341e1
commit 7c99cb84aa
3 changed files with 12 additions and 14 deletions

View File

@ -1,4 +1,6 @@
# $OpenBSD: Makefile,v 1.85 2011/12/08 11:02:30 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.86 2012/04/23 06:40:22 ajacoutot Exp $
SHARED_ONLY= Yes
COMMENT= free cross-platform WYSIWYG word processor
@ -6,7 +8,7 @@ VERSION= 2.8.6
MAJORVER= ${VERSION:C/..$//}
DISTNAME= abiword-${VERSION}
REVISION= 4
REVISION= 5
# Merge a patch from Fedora to change default font from Times Roman to
# DejaVu Serif.: fixes font corruption issue on machines where
@ -78,4 +80,8 @@ SUBST_VARS= MAJORVER
pre-configure:
@perl -pi -e "s|libpng12|libpng|g" ${WRKSRC}/configure
post-install:
rm ${PREFIX}/lib/abiword-${MAJORVER}/plugins/*.a
rm ${PREFIX}/lib/abiword-${MAJORVER}/plugins/*.la
.include <bsd.port.mk>

View File

@ -1,4 +0,0 @@
@comment $OpenBSD: PFRAG.shared,v 1.2 2011/12/08 11:02:30 ajacoutot Exp $
lib/abiword-${MAJORVER}/plugins/opendocument.so
lib/abiword-${MAJORVER}/plugins/openxml.so
@lib lib/libabiword-${MAJORVER}.so.${LIBabiword-2.8_VERSION}

View File

@ -1,6 +1,5 @@
@comment $OpenBSD: PLIST,v 1.26 2011/12/08 11:02:30 ajacoutot Exp $
@comment $OpenBSD: PLIST,v 1.27 2012/04/23 06:40:22 ajacoutot Exp $
@pkgpath editors/abiword,gnome
%%SHARED%%
@bin bin/abiword
include/abiword-${MAJORVER}/
include/abiword-${MAJORVER}/abiwidget.h
@ -8,13 +7,11 @@ include/abiword-${MAJORVER}/libabiword.h
include/abiword-${MAJORVER}/xap_UnixTableWidget.h
lib/abiword-${MAJORVER}/
lib/abiword-${MAJORVER}/plugins/
@comment lib/abiword-${MAJORVER}/plugins/opendocument.a
@comment lib/abiword-${MAJORVER}/plugins/opendocument.la
@comment lib/abiword-${MAJORVER}/plugins/openxml.a
@comment lib/abiword-${MAJORVER}/plugins/openxml.la
lib/abiword-${MAJORVER}/plugins/opendocument.so
lib/abiword-${MAJORVER}/plugins/openxml.so
lib/libabiword-${MAJORVER}.a
lib/libabiword-${MAJORVER}.la
lib/pkgconfig/
@lib lib/libabiword-${MAJORVER}.so.${LIBabiword-2.8_VERSION}
lib/pkgconfig/abiword-${MAJORVER}.pc
@man man/man1/abiword.1
share/abiword-${MAJORVER}/
@ -303,7 +300,6 @@ share/abiword-${MAJORVER}/ui/xap_UnixDlg_PluginManager.xml
share/abiword-${MAJORVER}/ui/xap_UnixDlg_WindowMore.xml
share/abiword-${MAJORVER}/ui/xap_UnixDlg_Zoom.xml
share/applications/abiword.desktop
share/icons/
share/icons/abiword_48.png
share/mime-info/
share/mime-info/abiword.keys