aboutsummaryrefslogtreecommitdiffstats
path: root/audio/toolame
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-11-10 04:48:34 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-11-10 04:48:34 +0800
commit9122c93bf4e1f58076f1f6aff1104a9d90ba7e76 (patch)
treed5d311c94527445d197e4de09d5a4cc104202cbf /audio/toolame
parentbbe9d481d7e7d9a00872a918d3a2f47253988059 (diff)
downloadfreebsd-ports-gnome-9122c93bf4e1f58076f1f6aff1104a9d90ba7e76.tar.gz
freebsd-ports-gnome-9122c93bf4e1f58076f1f6aff1104a9d90ba7e76.tar.zst
freebsd-ports-gnome-9122c93bf4e1f58076f1f6aff1104a9d90ba7e76.zip
- Add LICENSE_FILE
- Switch to options helpers
Diffstat (limited to 'audio/toolame')
-rw-r--r--audio/toolame/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/audio/toolame/Makefile b/audio/toolame/Makefile
index a7f2be12c3ce..d516a67a51af 100644
--- a/audio/toolame/Makefile
+++ b/audio/toolame/Makefile
@@ -11,9 +11,8 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//}
MAINTAINER= ports@FreeBSD.org
COMMENT= Optimized mpeg 1/2 layer 2 audio encoder
-OPTIONS_DEFINE= DOCS
-
LICENSE= LGPL21
+LICENSE_FILE= ${WRKSRC}/LGPL.txt
USES= gmake tar:tgz
ALL_TARGET= ${PORTNAME}
@@ -23,11 +22,15 @@ USE_CSTD= gnu89
PLIST_FILES= bin/toolame
PORTDOCS= FUTURE HISTORY LGPL.txt README
+OPTIONS_DEFINE= DOCS
+
do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/toolame ${STAGEDIR}${PREFIX}/bin
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for docs in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${docs} ${STAGEDIR}${DOCSDIR}
.endfor
- @${INSTALL_PROGRAM} ${WRKSRC}/toolame ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>