1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Strip binaries

- Convert to USES=libtool

PR:		191370
Submitted by:	tkato432@yahoo.com
This commit is contained in:
Guido Falsi 2014-07-18 14:03:05 +00:00
parent 55e6467296
commit 766637c905
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=362208
2 changed files with 15 additions and 7 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= gnotime
PORTVERSION= 2.4.1
PORTREVISION= 1
CATEGORIES= deskutils gnome
MASTER_SITES= SF/gttr/${PORTNAME}/${PORTNAME}-${PORTVERSION} \
SF/qof/qof/${QOF_VERSION}:qof
@ -16,16 +17,18 @@ LICENSE= GPLv2 # (or later)
LIB_DEPENDS= libguile.so:${PORTSDIR}/lang/guile
USES= gettext gmake pathfix pkgconfig
USES= gettext gmake libtool pathfix pkgconfig
USE_XORG= xscrnsaver
USE_GNOME= gnomeprefix gtkhtml3 intlhack libgnomeui
USE_AUTOTOOLS= libtool libltdl
USE_AUTOTOOLS= libtoolize libltdl
GNU_CONFIGURE= yes
LIBTOOLFILES= configure ../${QOF_DISTNAME}/configure
CONFIGURE_ENV= GUILE_CFLAGS="$$(guile-config compile)" \
GUILE_LIBS="$$(guile-config link)" \
LIBQOF_CFLAGS="${LIBQOF_CFLAGS}" \
LIBQOF_LIBS="${LIBQOF_LIBS}"
CONFIGURE_ARGS= --disable-silent-rules
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
INSTALLS_OMF= yes
@ -41,6 +44,9 @@ LIBQOF_CFLAGS= -I${QOF_WRKSRC}/qof
LIBQOF_LIBS= -L${QOF_WRKSRC}/qof/.libs -lqof
post-patch:
@${REINPLACE_CMD} -e \
'/^install-data-am/s|install-data-local||' \
${WRKSRC}/gconf/Makefile.in
@${REINPLACE_CMD} -e \
'/^AM_CFLAGS =/s|-g||' ${WRKSRC}/src/Makefile.in
@${REINPLACE_CMD} -e \
@ -63,11 +69,13 @@ pre-configure:
--disable-sqlite --disable-gdasql)
pre-build:
@(cd ${QOF_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} \
(cd ${QOF_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} \
${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
${FIND} ${QOF_WRKSRC} -type f -name '*.la' | \
${XARGS} ${GREP} -l 'libtool library' | ${XARGS} ${RM}
pre-install:
@(cd ${QOF_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} \
(cd ${QOF_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} \
${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET})
.include <bsd.port.mk>

View File

@ -37,17 +37,17 @@ include/qof/qofundo.h
include/qof/qofutil.h
include/qof/sql_parser.h
lib/libqof-backend-qsf.a
lib/libqof-backend-qsf.la
lib/libqof-backend-qsf.so
lib/libqof-backend-qsf.so.0
lib/libqof-backend-qsf.so.0.0.7
lib/libqof.a
lib/libqof.la
lib/libqof.so
lib/libqof.so.1
lib/libqof.so.1.0.10
lib/libqofsql.a
lib/libqofsql.la
lib/libqofsql.so
lib/libqofsql.so.1
lib/libqofsql.so.1.0.1
libdata/pkgconfig/qof-1.pc
libdata/pkgconfig/qof.pc
man/man1/gnotime-remote.1.gz