1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00
freebsd-ports/audio/p5-Shout/Makefile
Dmitry Marakasov 0d32ef5455 - Add LICENSE
- Dont't mix variables and targets
- Remove redundant passing of DESTDIR to make
- Silence stripping and mkdirs
- Switch to options helpers
- Update WWW

Approved by:	portmgr blanket
2020-09-02 09:36:45 +00:00

41 lines
900 B
Makefile

# Created by: leo
# $FreeBSD$
PORTNAME= Shout
PORTVERSION= 2.1
PORTREVISION= 2
CATEGORIES= audio perl5
MASTER_SITES= http://downloads.us.xiph.org/releases/libshout/
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl glue for libshout MP3 streaming source library
LICENSE= NONE
LIB_DEPENDS= libshout.so:audio/libshout
USES= perl5 pkgconfig shebangfix
USE_PERL5= configure
DOCSDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
SHEBANG_FILES= *.pl
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -i '' -e 's/CCFLAGS/INC/' ${WRKSRC}/Makefile.PL
post-configure:
@${PERL} -i -pe '$$_ .= " -lpthread" if /^LDDLFLAGS/;' \
${WRKSRC}/Makefile
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Shout/Shout.so
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_SCRIPT} ${WRKSRC}/example*.pl ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>