blob: a41dba49eeeeb9a611345cc0622799842e44c7c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
PORTNAME= libsoldout
DISTVERSION= 1.4
CATEGORIES= textproc devel
MASTER_SITES= http://instinctive.eu/code/
MAINTAINER= natbsd@instinctive.eu
COMMENT= Flexible C library for markdown
LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/LICENSE
MAKEFILE= BSDmakefile
USE_LDCONFIG= yes
USES= tar:bzip2
do-install:
${INSTALL_LIB} ${WRKSRC}/libsoldout.so.1 ${STAGEDIR}${PREFIX}/lib
${INSTALL_PROGRAM} ${WRKSRC}/mkd2html ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/mkd2latex ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/mkd2man ${STAGEDIR}${PREFIX}/bin
cd ${STAGEDIR}${PREFIX}/lib && ${LN} -s libsoldout.so.1 libsoldout.so
${MKDIR} ${STAGEDIR}${PREFIX}/include/soldout
${INSTALL_DATA} ${WRKSRC}/*.h ${STAGEDIR}${PREFIX}/include/soldout
${INSTALL_DATA} ${WRKSRC}/libsoldout.a ${STAGEDIR}${PREFIX}/lib
${INSTALL_MAN} ${WRKSRC}/mkd2*.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/*.3 ${STAGEDIR}${MAN3PREFIX}/man/man3
.include <bsd.port.mk>
|