aboutsummaryrefslogtreecommitdiffstats
path: root/x11/libdnd/Makefile
blob: 35e17eb13812e257c130300962c2e0c2ea118a5e (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
# Created by: lukin@okbmei.msk.su
# $FreeBSD$

PORTNAME=   libdnd
PORTVERSION=    1.1
PORTREVISION=   4
CATEGORIES= x11
MASTER_SITES=   http://leb.net/offix/
DISTNAME=   dnd.${PORTVERSION}
EXTRACT_SUFX=   .tgz

MAINTAINER= ports@FreeBSD.org
COMMENT=    Drag and drop library

USE_XORG=   x11 xmu ice xaw
USE_LDCONFIG=   yes
WRKSRC=     ${WRKDIR}/DND/DNDlib
GNU_CONFIGURE=  yes
CPPFLAGS+=  -I${LOCALBASE}/include/
LDFLAGS+=   -L${LOCALBASE}/lib/
MAKE_JOBS_UNSAFE=   yes

.include <bsd.port.options.mk>

post-install:
.if ${PORT_OPTIONS:MDOCS}
    ${MKDIR} ${PREFIX}/share/doc/libdnd
    ${INSTALL_MAN} ${WRKDIR}/DND/DNDdoc/* ${DOCSDIR}
.endif

.include <bsd.port.mk>