mirror of
https://git.freebsd.org/ports.git
synced 2025-05-03 03:56:39 -04:00
Lua module that detects the mime type of file based on their contents PR: 268037 Reported by: Manuel Wiesinger <manuel at mmap.at>
26 lines
547 B
Makefile
26 lines
547 B
Makefile
PORTNAME= puremagic
|
|
PORTVERSION= 1.0.1
|
|
CATEGORIES= sysutils
|
|
PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= mdw@FreeBSD.org
|
|
COMMENT= Lua module that detects the mime type of file based on their contents
|
|
WWW= https://github.com/wbond/puremagic/
|
|
|
|
LICENSE= MIT
|
|
|
|
USES= lua:module
|
|
|
|
NO_BUILD= yes
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= wbond
|
|
GH_PROJECT= puremagic
|
|
|
|
PLIST_FILES= ${LUA_MODSHAREDIR}/puremagic.lua
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${LUA_MODSHAREDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/puremagic.lua ${STAGEDIR}${LUA_MODSHAREDIR}
|
|
|
|
.include <bsd.port.mk>
|