Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Mar 2002 21:43:27 -0800 (PST)
From:      KATO Tsuguru <tkato@prontomail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/35965: Update port: sysutils/gfslicer
Message-ID:  <200203160543.g2G5hRt65769@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         35965
>Category:       ports
>Synopsis:       Update port: sysutils/gfslicer
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 15 21:50:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.4-RELEASE i386
>Organization:
>Environment:
>Description:
- Fix compilation error
- Fix pkg-comment format

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/sysutils/gfslicer/Makefile sysutils/gfslicer/Makefile
--- /usr/ports/sysutils/gfslicer/Makefile	Fri Jan 11 04:04:28 2002
+++ sysutils/gfslicer/Makefile	Sat Mar 16 11:32:32 2002
@@ -13,29 +13,32 @@
 
 MAINTAINER=	ports@FreeBSD.org
 
-LIB_DEPENDS=	intl:${PORTSDIR}/devel/gettext
+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 -urN /usr/ports/sysutils/gfslicer/pkg-comment sysutils/gfslicer/pkg-comment
--- /usr/ports/sysutils/gfslicer/pkg-comment	Fri Jan 11 04:04:28 2002
+++ sysutils/gfslicer/pkg-comment	Sat Mar 16 07:48:16 2002
@@ -1 +1 @@
-gfslicer helps to slice and then deslice files which are of larger size
+A utility to split and join files

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203160543.g2G5hRt65769>