1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00

Update MASTER_SITES

- Change the way *_DEPENDS are set
- Clean up Makefile
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2018-11-17 17:31:28 +00:00
parent c2ca4b558b
commit 909641d226
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=485151

View File

@ -5,7 +5,7 @@ PORTNAME= mp3lint
PORTVERSION= 0.9
PORTREVISION= 1
CATEGORIES= audio perl5
MASTER_SITES= http://erislabs.net/ianb/projects/${PORTNAME}/ \
MASTER_SITES= https://erislabs.net/ianb/projects/mp3lint/ \
LOCAL/sunpoet
MAINTAINER= sunpoet@FreeBSD.org
@ -14,17 +14,15 @@ COMMENT= Configurable tool to check collections of audio files
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= libmp3-archive-perl>=0:audio/libmp3-archive-perl
RUN_DEPENDS:= ${BUILD_DEPENDS}
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= libmp3-archive-perl>=0:audio/libmp3-archive-perl
USES= perl5
USE_PERL5= configure
NO_ARCH= yes
USE_PERL5= configure
USES= perl5
post-patch:
@${REINPLACE_CMD} -e '/^INSTALLSYSCONFDIR/ s|/etc|${PREFIX}&|' ${WRKSRC}/Makefile.PL
# It fails to build with error message as follows:
# Can't write-open blib/man5/mp3lintrc.5: No such file or directory at /usr/local/lib/perl5/5.xx.y/ExtUtils/Command/MM.pm line zzz.
# @${MKDIR} ${WRKSRC}/blib/man5/
.include <bsd.port.mk>