aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libassa/Makefile
blob: ea985682aabeb3bedfc3ce3a68bca9d1d25b94ac (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
# Created by: ijliao
# $FreeBSD$

PORTNAME=   libassa
PORTVERSION=    3.4.2.2
PORTREVISION=   0
CATEGORIES= devel
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/3.4.2
DISTNAME=   ${PORTNAME}-${PORTVERSION:C/\.([[:digit:]])$/-\1/}

MAINTAINER= rodrigo@bebik.net
COMMENT=    An C++ networking library and application framework

GNU_CONFIGURE=  yes
USES=   pathfix
USE_LDCONFIG=   yes
USE_PKGCONFIG=  yes
PLIST_SUB=  ASSA_VERSION=${PORTVERSION:R:R}

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/(\.[[:digit:]])$//}

MAN1=       assa-genesis.1

post-patch:
    @${REINPLACE_CMD} -e '/^SUBDIRS/s: doc : :g' ${WRKSRC}/Makefile.in

post-install:
    ${INSTALL_MAN} ${WRKSRC}/debian/assa-genesis.1 ${PREFIX}/man/man1

.include <bsd.port.mk>