aboutsummaryrefslogblamecommitdiff
path: root/textproc/libsoldout/Makefile
blob: c05c1541e8fb62a52576c39a708a2d170c2afd91 (plain) (tree)
1
2
3
4
5
6
7
8
9
                          
                   


                                           
                                     

                                               
                    

                                 

                           
                 
 
           
                                                                         





                                                                             


                                                                          

                      
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>