diff options
Diffstat (limited to 'textproc/scrollkeeper/Makefile')
-rw-r--r-- | textproc/scrollkeeper/Makefile | 45 |
1 files changed, 12 insertions, 33 deletions
diff --git a/textproc/scrollkeeper/Makefile b/textproc/scrollkeeper/Makefile index 9f39959b4bb..32c0b45b616 100644 --- a/textproc/scrollkeeper/Makefile +++ b/textproc/scrollkeeper/Makefile @@ -6,57 +6,36 @@ # PORTNAME= scrollkeeper -PORTVERSION= 0.3.6 +PORTVERSION= 0.2 +PORTEPOCH= 1 CATEGORIES= textproc gnome -MASTER_SITES= ${MASTER_SITE_GNOME} -MASTER_SITE_SUBDIR= pre-gnome2/releases/gnome-2.0-desktop-beta5 -DIST_SUBDIR= gnome2 +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ + ${MASTER_SITE_GNOME:S,%SUBDIR%,stable/sources/scrollkeeper,} +MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= gnome@FreeBSD.org -LIB_DEPENDS= xslt.1:${PORTSDIR}/textproc/libxslt -BUILD_DEPENDS= intltool-extract:${PORTSDIR}/textproc/intltool \ - ${LOCALBASE}/share/xml/docbook/4.1.2/docbookx.dtd:${PORTSDIR}/textproc/docbook-xml +LIB_DEPENDS= xml.5:${PORTSDIR}/textproc/libxml # Don't use USE_X_PREFIX - the port doesn't really require X11 to run. # The reason why it should be in X11BASE is that GNOME is the primary # (only?) consumer of this port, and BadThings[tm] happen if it's not # put in the right place. -PREFIX?= ${X11BASE} +PREFIX?= ${X11BASE} -USE_BZIP2= yes USE_GMAKE= yes USE_LIBTOOL= yes -USE_BISON= yes INSTALLS_SHLIB= yes -CONFIGURE_ARGS= --localstatedir=/var --datadir=${PREFIX}/share/gnome \ - --with-omfdirs=${PREFIX}/share/gnome/omf +CONFIGURE_ARGS= --localstatedir=/var --datadir=${PREFIX}/share/gnome CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LIBS="-L${LOCALBASE}/lib -lintl" \ - LOCALBASE="${LOCALBASE}" + LIBS="-L${LOCALBASE}/lib -lintl" -MAN1= scrollkeeper-config.1 scrollkeeper-gen-seriesid.1 -MAN5= scrollkeeper.conf.5 -MAN7= scrollkeeper.7 -MAN8= scrollkeeper-preinstall.8 scrollkeeper-rebuilddb.8 \ - scrollkeeper-update.8 +MAN8= scrollkeeper-config.8 scrollkeeper-preinstall.8 \ + scrollkeeper-rebuilddb.8 scrollkeeper-update.8 pre-patch: - @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ - s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure @find ${WRKSRC} -name Makefile.in | xargs ${PERL} -pi -e \ - 's|\$$\(LN_S\) -f -n|\$$\(LN_S\) -f|g ; \ - s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g ; \ - s|\$\(libdir\)/pkgconfig|\$\(prefix\)/libdata/pkgconfig|g ; \ - s|\$\(libdir\)/bonobo/servers|\$\(prefix\)/libdata/bonobo/servers|g' - @${PERL} -pi -e 's|/usr/share/locale|${PREFIX}/share/locale|g' \ - ${WRKSRC}/libs/scrollkeeper.h.in - -post-patch: - @${PERL} -pi -e 's|\%\%PREFIX\%\%|${PREFIX}|g' \ - ${WRKSRC}/cl/src/update.c - @${PERL} -pi -e 's|\%\%DATADIR\%\%|${PREFIX}/share/gnome|g' \ - ${WRKSRC}/config/scrollkeeper.conf + 's|\$$\(LN_S\) -f -n|\$$\(LN_S\) -f|g' post-install: @${MKDIR} ${PREFIX}/share/gnome/scrollkeeper/TOC |