35 lines
812 B
Makefile
35 lines
812 B
Makefile
# Created by: chinsan
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libmaa
|
|
PORTVERSION= 1.4.2
|
|
PORTEPOCH= 1
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Provides a few data structures and helpful functions
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/doc/LICENSE
|
|
|
|
BUILD_DEPENDS= mk-configure>=0.29.1:devel/mk-configure
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
MAKE_ARGS= -m ${LOCALBASE}/share/mkc-mk DOCDIR=${DOCSDIR} LIBDIR=${PREFIX}/lib
|
|
NO_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
|
|
GH_ACCOUNT= cheusov
|
|
USE_GITHUB= yes
|
|
|
|
post-patch:
|
|
@${AWK} -f ${WRKSRC}/maa/arggram2c < ${WRKSRC}/maa/arggram.txt > ${WRKSRC}/maa/arggram.c
|
|
@${REINPLACE_CMD} -e '/^FILES *=/ s|LICENSE||' ${WRKSRC}/doc/Makefile
|
|
@${REINPLACE_CMD} -e '/^#SHLIB_TEENY *=/ s|#||' ${WRKSRC}/maa/Makefile
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmaa.so
|
|
|
|
.include <bsd.port.mk>
|