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.
This commit is contained in:
Emanuel Haupt 2013-03-13 10:41:23 +00:00
parent ef2ec338d8
commit fd445589b8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=314054
2 changed files with 6 additions and 8 deletions

View file

@ -1,9 +1,5 @@
# New ports collection makefile for: libadplug # Created by: Emanuel Haupt <ehaupt@critical.ch>
# Date created: 10 August 2004
# Whom: Emanuel Haupt <ehaupt@critical.ch>
#
# $FreeBSD$ # $FreeBSD$
#
PORTNAME= libadplug PORTNAME= libadplug
PORTVERSION= 2.2.1 PORTVERSION= 2.2.1
@ -14,7 +10,9 @@ DISTNAME= adplug-${PORTVERSION}
MAINTAINER= ehaupt@FreeBSD.org MAINTAINER= ehaupt@FreeBSD.org
COMMENT= AdLib emulator library supporting many formats 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 USE_AUTOTOOLS= libtool
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
@ -26,7 +24,6 @@ MAKE_JOBS_SAFE= yes
CPPFLAGS+= -I${LOCALBASE}/include CPPFLAGS+= -I${LOCALBASE}/include
LICENSE= GPLv2
INFO= libadplug INFO= libadplug
MAN1= adplugdb.1 MAN1= adplugdb.1
@ -42,7 +39,7 @@ post-patch:
${WRKSRC}/src/fprovide.cpp \ ${WRKSRC}/src/fprovide.cpp \
${WRKSRC}/src/database.cpp \ ${WRKSRC}/src/database.cpp \
${WRKSRC}/src/dmo.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.in \
${WRKSRC}/Makefile.am ${WRKSRC}/Makefile.am

View file

@ -62,4 +62,5 @@ lib/libadplug-2.2.1.so.0
lib/libadplug.a lib/libadplug.a
lib/libadplug.la lib/libadplug.la
lib/libadplug.so lib/libadplug.so
libdata/pkgconfig/adplug.pc
@dirrm include/adplug @dirrm include/adplug