openbsd-ports/audio/p5-Audio-CD/Makefile
avsm 95b23a7286 Fix compilation:
- do not hardcode /usr/local, use LOCALBASE
- patch Makefile.PL to use LDFLAGS, CPPFLAGS from CONFIGURE_ENV
2001-02-06 10:08:38 +00:00

25 lines
537 B
Makefile

# $OpenBSD: Makefile,v 1.2 2001/02/06 10:08:38 avsm Exp $
DISTNAME= Audio-CD-0.04
PKGNAME= p5-${DISTNAME}
CATEGORIES= audio perl5
NEED_VERSION= 1.351
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Audio
CONFIGURE_STYLE= perl
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
LIB_DEPENDS= cdaudio.1::audio/libcdaudio
.include <bsd.port.mk>