Fix a number of issues with scrollkeeper, install things in the right
places (see Makefile for more details), fix a bug, bump PORTREVISION Obtained from: GNOME 1.4 RC* code (which MAINTAINER is fully aware of)
This commit is contained in:
@@ -7,19 +7,26 @@
|
||||
|
||||
PORTNAME= scrollkeeper
|
||||
PORTVERSION= 0.2
|
||||
CATEGORIES= textproc
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= textproc gnome
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
||||
${MASTER_SITE_GNOME:S,%SUBDIR%,stable/sources/scrollkeeper,}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
|
||||
MAINTAINER= sobomax@FreeBSD.org
|
||||
|
||||
LIB_DEPENDS= xml.5:${PORTSDIR}/textproc/libxml \
|
||||
intl.1:${PORTSDIR}/devel/gettext
|
||||
LIB_DEPENDS= xml.5:${PORTSDIR}/textproc/libxml
|
||||
|
||||
INSTALLS_SHLIB= yes
|
||||
# It has to go in X_PREFIX to work with the rest of GNOME, for which
|
||||
# scrollkeeper was primarily designed in the first place. It's an
|
||||
# exceptionally deep dependency (gnomelibs needs it), so to put it
|
||||
# in the right place, we have to do this kludge
|
||||
USE_X_PREFIX= yes
|
||||
|
||||
USE_GMAKE= yes
|
||||
USE_LIBTOOL= yes
|
||||
CONFIGURE_ARGS= --localstatedir=/var
|
||||
INSTALLS_SHLIB= yes
|
||||
CONFIGURE_ARGS= --localstatedir=/var --datadir=${PREFIX}/share/gnome
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LIBS="-L${LOCALBASE}/lib -lintl"
|
||||
|
||||
@@ -30,4 +37,7 @@ pre-patch:
|
||||
@find ${WRKSRC} -name Makefile.in | xargs ${PERL} -pi -e \
|
||||
's|\$$\(LN_S\) -f -n|\$$\(LN_S\) -f|g'
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${PREFIX}/share/gnome/scrollkeeper/TOC
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
Reference in New Issue
Block a user