aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/libupskirt/Makefile
blob: 6135eaf6e557b63a9b3d39e7c15ec9c34fc59b9e (plain) (blame)
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
30
31
32
33
34
35
36
37
# New ports collection makefile for:    libupskirt
# Date created:     2010-02-10
# Whom:         Bapt <baptiste.daroussin@gmail.com>
#
# $FreeBSD$
#

PORTNAME=   libupskirt
DISTVERSION=    1.0
CATEGORIES= textproc devel
MASTER_SITES=   http://instinctive.eu/code/

MAINTAINER= bapt@FreeBSD.org
COMMENT=    Flexible C library for markdown

LICENSE=    BSD
LICENSE_FILE=   ${WRKSRC}/LICENSE

MAKEFILE=   BSDmakefile
USE_LDCONFIG=   yes
USE_BZIP2=  yes

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 700000
BROKEN=     does not compile on 6.X
.endif

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/libupskirt.so.1 ${PREFIX}/lib
    ${INSTALL_PROGRAM} ${WRKSRC}/lace ${PREFIX}/bin
    ${INSTALL_PROGRAM} ${WRKSRC}/kilt ${PREFIX}/bin
    cd ${PREFIX}/lib && ${LN} -s libupskirt.so.1 libupskirt.so
    ${MKDIR} ${PREFIX}/include/upskirt
    ${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include/upskirt

.include <bsd.port.post.mk>