diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-12-31 09:17:42 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-12-31 09:17:42 +0800 |
commit | d4d8bbc3cc99ab5a3b98499f04c10fb5fb655f2c (patch) | |
tree | 8db44b6aa82cf43fc43175651e6ab2391c11ae7e /misc | |
parent | e4661516af40bf0cab2ccd433f690b8d4c5ad1f4 (diff) | |
download | freebsd-ports-gnome-d4d8bbc3cc99ab5a3b98499f04c10fb5fb655f2c.tar.gz freebsd-ports-gnome-d4d8bbc3cc99ab5a3b98499f04c10fb5fb655f2c.tar.zst freebsd-ports-gnome-d4d8bbc3cc99ab5a3b98499f04c10fb5fb655f2c.zip |
- Clarify LICENSE
- Add NO_ARCH
- Switch to options helpers
Diffstat (limited to 'misc')
-rw-r--r-- | misc/metalink-checker/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/misc/metalink-checker/Makefile b/misc/metalink-checker/Makefile index 64eece62bc54..61df02398c7a 100644 --- a/misc/metalink-checker/Makefile +++ b/misc/metalink-checker/Makefile @@ -11,24 +11,29 @@ DISTNAME= checker-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Python script to check metalink files and complete a basic download -LICENSE= GPLv2 +LICENSE= GPLv2 # or later USES= dos2unix python NO_BUILD= yes +NO_ARCH= yes PORTDOCS= README PLIST_FILES= bin/${PORTNAME}.py +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -E \ -e "s|#!/usr/bin/env[[:space:]]python|#!${PYTHON_CMD}|" \ ${WRKSRC}/${PORTNAME}.py do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.py ${STAGEDIR}${PREFIX}/bin + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} .endfor - ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.py ${STAGEDIR}${PREFIX}/bin .include <bsd.port.mk> |