1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/audio/libadplug/Makefile
Florent Thoumie 17f5e78f0a - Use USE_GCC=3.4+ for upcoming audio/ocp release.
PR:		ports/81703
Submitted by:	maintainer
2005-05-31 21:24:38 +00:00

45 lines
992 B
Makefile

# New ports collection makefile for: adplug
# Date created: 10 August 2004
# Whom: Emanuel Haupt <ehaupt@critical.ch>
#
# $FreeBSD$
#
PORTNAME= libadplug
PORTVERSION= 1.5.1
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= adplug
DISTNAME= adplug-${PORTVERSION}
MAINTAINER= ehaupt@critical.ch
COMMENT= AdLib emulator library supporting many formats
LIB_DEPENDS= binio.1:${PORTSDIR}/devel/libbinio
INSTALLS_SHLIB= yes
USE_LIBTOOL_VER=15
USE_REINPLACE= yes
USE_GCC= 3.4+
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV= CFLAGS="${CFLAGS} ${CPPFLAGS}" \
CXXFLAGS="${CXXFLAGS} ${CPPFLAGS}" \
CPPFLAGS="${CPPFLAGS}" \
LDFLAGS="${LDFLAGS}"
MAN1= adplugdb.1
post-patch:
@${REINPLACE_CMD} -e 's|^\(SUBDIRS\ =\).*|\1 src adplugdb test|' \
${WRKSRC}/Makefile.in
post-install:
${MKDIR} ${MANPREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/doc/adplugdb.1 ${MANPREFIX}/man/man1
.include <bsd.port.mk>