svn commit: r335773 - head/deskutils/nautilus-actions
Koop Mast
kwm at FreeBSD.org
Fri Dec 6 16:32:34 UTC 2013
Author: kwm
Date: Fri Dec 6 16:32:34 2013
New Revision: 335773
URL: http://svnweb.freebsd.org/changeset/ports/335773
Log:
Unbreak build.
Stageify, use new LIB_DEPEND syntax. switch from options framework for docs
Modified:
head/deskutils/nautilus-actions/Makefile
Modified: head/deskutils/nautilus-actions/Makefile
==============================================================================
--- head/deskutils/nautilus-actions/Makefile Fri Dec 6 16:16:35 2013 (r335772)
+++ head/deskutils/nautilus-actions/Makefile Fri Dec 6 16:32:34 2013 (r335773)
@@ -11,9 +11,9 @@ MASTER_SITES= GNOME
MAINTAINER= gnome at FreeBSD.org
COMMENT= Extension for Nautilus to configure programs to launch on files
-LIB_DEPENDS= uuid.1:${PORTSDIR}/misc/e2fsprogs-libuuid \
- dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \
- unique-1.0.2:${PORTSDIR}/x11-toolkits/unique
+LIB_DEPENDS= libuuid.so:${PORTSDIR}/misc/e2fsprogs-libuuid \
+ libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \
+ libunique-1.0.so:${PORTSDIR}/x11-toolkits/unique
INSTALLS_ICONS= yes
USE_BZIP2= yes
@@ -28,9 +28,11 @@ PORTDOCS= AUTHORS COPYING ChangeLog Chan
MAINTAINERS NEWS README TODO export-format-id io-provider-id \
objects-hierarchy.odg
-NO_STAGE= yes
+.include <bsd.port.options.mk>
+
post-patch:
-.if defined(NOPORTDOCS)
+ @${REINPLACE_CMD} -e 's|-Werror"|"|g' ${WRKSRC}/configure
+.if ! ${PORT_OPTIONS:MDOCS}
@${REINPLACE_CMD} -e 's| install-dist_pkgdocDATA||g' \
${WRKSRC}/Makefile.in ${WRKSRC}/doc/Makefile.in
.else
@@ -38,10 +40,12 @@ post-patch:
${WRKSRC}/Makefile.in ${WRKSRC}/doc/Makefile.in
.endif
-.include <bsd.port.pre.mk>
-
.if ${ARCH} == "powerpc"
BROKEN= Does not compile on powerpc
.endif
-.include <bsd.port.post.mk>
+post-install:
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/nautilus/extensions-2.0/*.so
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/nautilus-actions/*.so
+
+.include <bsd.port.mk>
More information about the svn-ports-all
mailing list