summaryrefslogtreecommitdiff
path: root/sysutils/gfslicer
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-03-16 07:36:21 +0000
committerPatrick Li <pat@FreeBSD.org>2002-03-16 07:36:21 +0000
commit71773299792ebe52a0621061269a8cdbf7d93232 (patch)
tree721a78aa507b7a6a63dde730d4e9ded5533554c0 /sysutils/gfslicer
parentAdd missing manpage entries (diff)
- Fix compilation error
- Reword pkg-comment PR: 35965 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Notes
Notes: svn path=/head/; revision=56198
Diffstat (limited to 'sysutils/gfslicer')
-rw-r--r--sysutils/gfslicer/Makefile21
-rw-r--r--sysutils/gfslicer/pkg-comment2
2 files changed, 13 insertions, 10 deletions
diff --git a/sysutils/gfslicer/Makefile b/sysutils/gfslicer/Makefile
index 4be71ee13624..7265bcc44e4e 100644
--- a/sysutils/gfslicer/Makefile
+++ b/sysutils/gfslicer/Makefile
@@ -13,29 +13,32 @@ MASTER_SITES= http://www.geocities.com/gfslicer/
MAINTAINER= ports@FreeBSD.org
-LIB_DEPENDS= intl:${PORTSDIR}/devel/gettext-old
+BUILD_DEPENDS= ${LOCALBASE}/share/automake14/automake/install-sh:${PORTSDIR}/devel/automake14
USE_X_PREFIX= yes
-USE_GTK= yes
USE_GNOME= yes
-GNU_CONFIGURE= yes
-CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib"
USE_GMAKE= yes
+GNU_CONFIGURE= yes
+MAN1= gfslicer.1
MANCOMPRESSED= yes
-MAN1= gfslicer.1
post-extract:
.for file in install-sh missing mkinstalldirs
- @${LN} -sf ${LOCALBASE}/share/automake/${file} ${WRKSRC}
+ @${LN} -sf ${LOCALBASE}/share/automake14/automake/${file} ${WRKSRC}
.endfor
@${RM} -f ${WRKSRC}/config.cache
post-patch:
- @${PERL} -pi -e "s,-lpthread,${PTHREAD_LIBS},g" ${WRKSRC}/configure
+ @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+ s|DATADIRNAME=lib|DATADIRNAME=share|g ; \
+ s|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \
+ s|\$$\(top_builddir\)/intl/libintl.a|-lintl|g' ${WRKSRC}/configure
+ @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${PERL} -pi -e \
+ 's|\$$\(datadir\)/gnome/|\$$\(datadir\)/|g ; \
+ s|\$$\(datadir\)/locale|\$$\(prefix\)/share/locale|g'
post-install:
- @${CP} ${WRKSRC}/${MAN1}.gz ${MAN1PREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/${MAN1}.gz ${MANPREFIX}/man/man1
.include <bsd.port.mk>
diff --git a/sysutils/gfslicer/pkg-comment b/sysutils/gfslicer/pkg-comment
index be7c5aec0e2d..608ad3553fc2 100644
--- a/sysutils/gfslicer/pkg-comment
+++ b/sysutils/gfslicer/pkg-comment
@@ -1 +1 @@
-gfslicer helps to slice and then deslice files which are of larger size
+A utility to split and join files