Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Mar 2013 10:41:23 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r314054 - head/audio/libadplug
Message-ID:  <201303131041.r2DAfNmh083938@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Wed Mar 13 10:41:23 2013
New Revision: 314054
URL: http://svnweb.freebsd.org/changeset/ports/314054

Log:
  Fix post-patch regex in order to install adplug.pc in the correct directory.
  Also add the file to pkg-plist. This didn't pop up in previous tinderbox runs
  due to a bug in portbuild. While here move LICENSE, trim header and get rid of
  ABI version number in LIB_DEPENDS.

Modified:
  head/audio/libadplug/Makefile
  head/audio/libadplug/pkg-plist

Modified: head/audio/libadplug/Makefile
==============================================================================
--- head/audio/libadplug/Makefile	Wed Mar 13 10:22:23 2013	(r314053)
+++ head/audio/libadplug/Makefile	Wed Mar 13 10:41:23 2013	(r314054)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	libadplug
-# Date created:				10 August 2004
-# Whom:					Emanuel Haupt <ehaupt@critical.ch>
-#
+# Created by: Emanuel Haupt <ehaupt@critical.ch>
 # $FreeBSD$
-#
 
 PORTNAME=	libadplug
 PORTVERSION=	2.2.1
@@ -14,7 +10,9 @@ DISTNAME=	adplug-${PORTVERSION}
 MAINTAINER=	ehaupt@FreeBSD.org
 COMMENT=	AdLib emulator library supporting many formats
 
-LIB_DEPENDS=	binio.1:${PORTSDIR}/devel/libbinio
+LICENSE=	GPLv2
+
+LIB_DEPENDS=	binio:${PORTSDIR}/devel/libbinio
 
 USE_AUTOTOOLS=	libtool
 GNU_CONFIGURE=	yes
@@ -26,7 +24,6 @@ MAKE_JOBS_SAFE=	yes
 
 CPPFLAGS+=	-I${LOCALBASE}/include
 
-LICENSE=	GPLv2
 INFO=		libadplug
 MAN1=		adplugdb.1
 
@@ -42,7 +39,7 @@ post-patch:
 		${WRKSRC}/src/fprovide.cpp \
 		${WRKSRC}/src/database.cpp \
 		${WRKSRC}/src/dmo.cpp
-	@${REINPLACE_CMD} -e 's|^\(pkgconfigdir\ =.*\)|\1 $$(prefix)/libdata/pkgconfig|' \
+	@${REINPLACE_CMD} -e 's|^\(pkgconfigdir\ =\).*|\1 $$(prefix)/libdata/pkgconfig|' \
 		${WRKSRC}/Makefile.in \
 		${WRKSRC}/Makefile.am
 

Modified: head/audio/libadplug/pkg-plist
==============================================================================
--- head/audio/libadplug/pkg-plist	Wed Mar 13 10:22:23 2013	(r314053)
+++ head/audio/libadplug/pkg-plist	Wed Mar 13 10:41:23 2013	(r314054)
@@ -62,4 +62,5 @@ lib/libadplug-2.2.1.so.0
 lib/libadplug.a
 lib/libadplug.la
 lib/libadplug.so
+libdata/pkgconfig/adplug.pc
 @dirrm include/adplug



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