freebsd-ports/audio/pm3umpdl/Makefile
Mathieu Arnold 60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00

35 lines
833 B
Makefile

# Created by: Zane C. Bowers
# $FreeBSD$
PORTNAME= pm3umpdl
PORTVERSION= 1.0.0
CATEGORIES= audio deskutils
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:VVELOX
EXTRACT_SUFX=
MAINTAINER= ports@FreeBSD.org
COMMENT= Loading a M3U file into musicpd
RUN_DEPENDS= ${LOCALBASE}/bin/mpc:${PORTSDIR}/audio/musicpc
USES= perl5
PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
do-extract:
@${MKDIR} ${WRKSRC}
@${CP} -v ${DISTDIR}/${DISTNAME} ${WRKSRC}
do-build:
@${EXEC} pod2man --section=1 --release=${PORTVERSION} \
--name=${PORTNAME} --center=${PORTNAME}" \
user guide" ${WRKSRC}/${DISTNAME} ${WRKSRC}/${PORTNAME}.1
do-install:
${INSTALL_DATA} -v ${WRKSRC}/${DISTNAME} \
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 \
${STAGEDIR}${PREFIX}/man/man1/${PORTNAME}.1
.include <bsd.port.mk>