mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
32 lines
897 B
Makefile
32 lines
897 B
Makefile
# Created by: Gerrit Beine <mail+freebsd@gerritbeine.de>
|
|
|
|
PORTNAME= libsml
|
|
PORTVERSION= 0.1.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= mail+freebsd@gerritbeine.de
|
|
COMMENT= Implementation in C of the Smart Message Language (SML) protocol
|
|
|
|
LICENSE= GPLv3
|
|
|
|
LIB_DEPENDS= libuuid.so:misc/e2fsprogs-libuuid
|
|
|
|
USES= dos2unix gmake
|
|
USE_LDCONFIG= yes
|
|
USE_GITHUB= yes
|
|
DOS2UNIX_FILES= test/unity/unity.c
|
|
GH_ACCOUNT= volkszaehler
|
|
GH_TAGNAME= 2a8445b
|
|
|
|
ALL_TARGET= all
|
|
CFLAGS+= -I ${PREFIX}/include
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e "s|-luuid|-luuid -L ${PREFIX}/lib|" ${WRKSRC}/examples/Makefile
|
|
${REINPLACE_CMD} -e "s|-luuid|-luuid -L ${PREFIX}/lib|" ${WRKSRC}/test/Makefile
|
|
${REINPLACE_CMD} -e "s|prefix = /usr/local|prefix = ${STAGEDIR}${PREFIX}|" ${WRKSRC}/examples/Makefile
|
|
${REINPLACE_CMD} -e "s|prefix = /usr/local|prefix = ${STAGEDIR}${PREFIX}|" ${WRKSRC}/sml/Makefile
|
|
|
|
.include <bsd.port.mk>
|