aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/gfslicer
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2002-03-16 15:36:21 +0800
committerpat <pat@FreeBSD.org>2002-03-16 15:36:21 +0800
commita27570aee80bec9ca1877135ba15a48a3485a598 (patch)
tree3263da8de0a41147e798d7a7167aba595e3c5483 /sysutils/gfslicer
parenta14f62dd4340fabec8117d48452c1441bc6c25c6 (diff)
downloadfreebsd-ports-graphics-a27570aee80bec9ca1877135ba15a48a3485a598.tar.gz
freebsd-ports-graphics-a27570aee80bec9ca1877135ba15a48a3485a598.tar.zst
freebsd-ports-graphics-a27570aee80bec9ca1877135ba15a48a3485a598.zip
- Fix compilation error
- Reword pkg-comment PR: 35965 Submitted by: KATO Tsuguru <tkato@prontomail.com>
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 4be71ee1362..7265bcc44e4 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 be7c5aec0e2..608ad3553fc 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