mirror of
https://git.freebsd.org/ports.git
synced 2025-05-06 02:47:37 -04:00
- Strip shared library - Update WWW Changes: https://github.com/lunarmodules/luaexpat/releases https://lunarmodules.github.io/luaexpat/#history
29 lines
712 B
Makefile
29 lines
712 B
Makefile
PORTNAME= luaexpat
|
|
PORTVERSION= 1.5.1
|
|
CATEGORIES= textproc
|
|
PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= SAX XML parser based on the Expat library
|
|
WWW= https://lunarmodules.github.io/luaexpat/ \
|
|
https://github.com/lunarmodules/luaexpat
|
|
|
|
LICENSE= MIT
|
|
|
|
LIB_DEPENDS= libexpat.so:textproc/expat2
|
|
|
|
USES= gmake lua:module
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= lunarmodules
|
|
|
|
ALL_TARGET= lib
|
|
CFLAGS+= -fPIC
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
MAKE_ARGS= COMMON_CFLAGS=-Wall
|
|
MAKE_ENV= EXPAT_INC=-I${LOCALBASE}/include LUA_CDIR=${LUA_MODLIBDIR} LUA_INC=-I${LUA_INCDIR} LUA_LDIR=${LUA_MODSHAREDIR} LUA_V=${LUA_VER}
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/lxp.so
|
|
|
|
.include <bsd.port.mk>
|