Support stage

Use USES=libtool
Strip binaries
This commit is contained in:
Baptiste Daroussin 2014-04-26 00:28:39 +00:00
parent 007634e326
commit 2bb5031fd7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=352197
2 changed files with 8 additions and 10 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= gnome-user-share
PORTVERSION= 2.30.1
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= www deskutils gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome2
@ -11,27 +11,26 @@ DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
COMMENT= Personal file-sharing service for the GNOME Desktop
LIB_DEPENDS= avahi-client:${PORTSDIR}/net/avahi-app \
canberra.0:${PORTSDIR}/audio/libcanberra \
notify.4:${PORTSDIR}/devel/libnotify \
unique-1.0.2:${PORTSDIR}/x11-toolkits/unique
LIB_DEPENDS= libavahi-client.so:${PORTSDIR}/net/avahi-app \
libcanberra.so:${PORTSDIR}/audio/libcanberra \
libnotify.so:${PORTSDIR}/devel/libnotify \
libunique-1.0.so:${PORTSDIR}/x11-toolkits/unique
RUN_DEPENDS= ${LOCALBASE}/${APACHEMODDIR}/mod_dnssd.so:${PORTSDIR}/www/mod_dnssd \
console-kit-daemon:${PORTSDIR}/sysutils/consolekit
USE_BZIP2= yes
USES= gettext gmake pkgconfig
USES= gettext gmake libtool pkgconfig tar:bzip2
USE_APACHE= 22
USE_XORG= sm
USE_GNOME= gnomeprefix gnomehack intlhack gtk20 gconf2 gnomedocutils nautilus2
USE_GNOME= gnomeprefix intlhack gtk20 gconf2 gnomedocutils nautilus2
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
CONFIGURE_ARGS= --with-modules-path=${LOCALBASE}/${APACHEMODDIR}
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
GCONF_SCHEMAS= desktop_gnome_file_sharing.schemas
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|/etc/httpd/modules|${LOCALBASE}/${APACHEMODDIR}|g' \
${WRKSRC}/data/dav_user_*.conf

View File

@ -1,6 +1,5 @@
bin/gnome-file-share-properties
etc/xdg/autostart/gnome-user-share.desktop
lib/nautilus/extensions-2.0/libnautilus-share-extension.la
lib/nautilus/extensions-2.0/libnautilus-share-extension.so
libexec/gnome-user-share
share/applications/gnome-user-share-properties.desktop