mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
35 lines
821 B
Makefile
35 lines
821 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= libsoldout
|
|
DISTVERSION= 1.3
|
|
CATEGORIES= textproc devel
|
|
MASTER_SITES= http://instinctive.eu/code/
|
|
|
|
MAINTAINER= natbsd@instinctive.eu
|
|
COMMENT= Flexible C library for markdown
|
|
|
|
LICENSE= BSD
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
MAKEFILE= BSDmakefile
|
|
USE_LDCONFIG= yes
|
|
USE_BZIP2= yes
|
|
|
|
NO_STAGE= yes
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 700000
|
|
BROKEN= does not compile on 6.X
|
|
.endif
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/libsoldout.so.1 ${PREFIX}/lib
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mkd2html ${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mkd2latex ${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mkd2man ${PREFIX}/bin
|
|
cd ${PREFIX}/lib && ${LN} -s libsoldout.so.1 libsoldout.so
|
|
${MKDIR} ${PREFIX}/include/soldout
|
|
${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include/soldout
|
|
|
|
.include <bsd.port.post.mk>
|