Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Sep 2014 18:30:05 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r368410 - in head/archivers/unadf: . files
Message-ID:  <201409171830.s8HIU54Q096966@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Wed Sep 17 18:30:04 2014
New Revision: 368410
URL: http://svnweb.freebsd.org/changeset/ports/368410
QAT: https://qat.redports.org/buildarchive/r368410/

Log:
  - Convert to USES=autoreconf and USES=libtool
  - Add INSTALL_TARGET=install-strip
  - Remove MAKE_JOBS_UNSAFE (tested on Redports)
  - Use default do-install such that libadf gets installed

Added:
  head/archivers/unadf/pkg-plist   (contents, props changed)
Deleted:
  head/archivers/unadf/files/
Modified:
  head/archivers/unadf/Makefile

Modified: head/archivers/unadf/Makefile
==============================================================================
--- head/archivers/unadf/Makefile	Wed Sep 17 18:25:54 2014	(r368409)
+++ head/archivers/unadf/Makefile	Wed Sep 17 18:30:04 2014	(r368410)
@@ -3,6 +3,7 @@
 
 PORTNAME=	unadf
 PORTVERSION=	0.7.12
+PORTREVISION=	1
 CATEGORIES=	archivers
 MASTER_SITES=	http://lclevy.free.fr/adflib/
 DISTNAME=	adflib-${DISTVERSION}
@@ -12,56 +13,13 @@ COMMENT=	Extracts files from .adf-files 
 
 LICENSE=	GPLv2
 
-USES=		tar:bzip2
-
-MAKE_JOBS_UNSAFE=	yes
-
-USE_AUTOTOOLS=	libtoolize aclocal autoconf autoheader automake
-
-#
-# args below adapted from adflib: autogen.sh
-#
-AUTOMAKE_ARGS=	--add-missing
-
-#
-# ports/aclocal workaround:
-#
-# aclocal only scans version-specific dir: ${LOCALBASE}/share/aclocal-<version>/
-# hence aclocal does not find 3rd party m4 files (libtool.m4 etc)
-# http://www.freebsd.org/cgi/query-pr.cgi?ports/98435
-ACLOCAL_ARGS=	-I ${LOCALBASE}/share/aclocal
-
-PLIST_FILES=	bin/unadf
-
-DOCS=		API.txt api_device.html api_dir.html api_env.html api_file.html \
-		api_index.html api_native.html api_salv.html api_volume.html version0.7.9d_gary.txt
-
-FAQS=		FAQ/adf_info.html FAQ/adf_info.txt FAQ/adf_info_V0_9.txt
-
-FAQSIMGS=	FAQ/image/adf_dir.gif FAQ/image/adf_file.gif
-
-PORTDOCS=	*
+DOCSDIR=	${PREFIX}/share/doc/adflib
+GNU_CONFIGURE=	yes
+CONFIGURE_ARGS=	--includedir=${PREFIX}/include/adflib
+INSTALL_TARGET=	install-strip
+USES=		autoreconf libtool pathfix tar:bzip2
+PATHFIX_MAKEFILEIN=	Makefile.am
 
 OPTIONS_DEFINE=	DOCS
 
-# XXX: work around an issue with automake-1.13 erroring out on a
-#      non-existent m4 directory before libtoolize creates it
-pre-configure::
-	@${MKDIR} ${WRKSRC}/m4
-
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/examples/unadf ${STAGEDIR}${PREFIX}/bin
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for i in ${DOCS}
-	${INSTALL_DATA} ${WRKSRC}/doc/${i} ${STAGEDIR}${DOCSDIR}
-.endfor
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}/FAQ
-.for i in ${FAQS}
-	${INSTALL_DATA} ${WRKSRC}/doc/${i} ${STAGEDIR}${DOCSDIR}/FAQ
-.endfor
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}/FAQ/image
-.for i in ${FAQSIMGS}
-	${INSTALL_DATA} ${WRKSRC}/doc/${i} ${STAGEDIR}${DOCSDIR}/FAQ/image
-.endfor
-
 .include <bsd.port.mk>

Added: head/archivers/unadf/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/archivers/unadf/pkg-plist	Wed Sep 17 18:30:04 2014	(r368410)
@@ -0,0 +1,51 @@
+bin/unadf
+include/adflib/adf_bitm.h
+include/adflib/adf_blk.h
+include/adflib/adf_cache.h
+include/adflib/adf_defs.h
+include/adflib/adf_dir.h
+include/adflib/adf_disk.h
+include/adflib/adf_dump.h
+include/adflib/adf_env.h
+include/adflib/adf_err.h
+include/adflib/adf_file.h
+include/adflib/adf_hd.h
+include/adflib/adf_link.h
+include/adflib/adf_nativ.h
+include/adflib/adf_raw.h
+include/adflib/adf_salv.h
+include/adflib/adf_str.h
+include/adflib/adf_util.h
+include/adflib/adflib.h
+include/adflib/defendian.h
+include/adflib/hd_blk.h
+include/adflib/prefix.h
+lib/libadf.a
+lib/libadf.so
+lib/libadf.so.0
+lib/libadf.so.0.0.12
+libdata/pkgconfig/adflib.pc
+%%PORTDOCS%%%%DOCSDIR%%/API.txt
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/FAQ/adf_info.html
+%%PORTDOCS%%%%DOCSDIR%%/FAQ/adf_info.txt
+%%PORTDOCS%%%%DOCSDIR%%/FAQ/adf_info_V0_9.txt
+%%PORTDOCS%%%%DOCSDIR%%/FAQ/image/adf_dir.gif
+%%PORTDOCS%%%%DOCSDIR%%/FAQ/image/adf_file.gif
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/api_device.html
+%%PORTDOCS%%%%DOCSDIR%%/api_dir.html
+%%PORTDOCS%%%%DOCSDIR%%/api_env.html
+%%PORTDOCS%%%%DOCSDIR%%/api_file.html
+%%PORTDOCS%%%%DOCSDIR%%/api_index.html
+%%PORTDOCS%%%%DOCSDIR%%/api_native.html
+%%PORTDOCS%%%%DOCSDIR%%/api_salv.html
+%%PORTDOCS%%%%DOCSDIR%%/api_volume.html
+%%PORTDOCS%%%%DOCSDIR%%/version0.7.9d_gary.txt
+@dirrm %%PORTDOCS%%%%DOCSDIR%%/FAQ/image
+@dirrm %%PORTDOCS%%%%DOCSDIR%%/FAQ
+@dirrm %%PORTDOCS%%%%DOCSDIR%%
+@dirrm include/adflib



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