summaryrefslogtreecommitdiff
path: root/x11/libdnd/Makefile
blob: ef02ef99fb2789b74734762ec8a06a17e18e2880 (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
# New ports collection makefile for:   libDnd
# Version required:		1.1
# Date created:                8 August 1997
# Whom:                        lukin@okbmei.msk.su
#
# $FreeBSD$
#

DISTNAME=	dnd.1.1
PKGNAME=	libdnd-1.1
CATEGORIES=	x11
MASTER_SITES=	http://leb.net/OffiX/
EXTRACT_SUFX=	.tgz

MAINTAINER=	lukin@okbmei.msk.su

USE_XLIB=	yes
WRKSRC=		${WRKDIR}/DND/DNDlib
GNU_CONFIGURE=	yes
CONFIGURE_ENV+=	CXXFLAGS="${CFLAGS}"

post-install:
.if !defined(NOPORTDOCS)
	${MKDIR} ${PREFIX}/share/doc/libdnd
	${INSTALL_MAN} ${WRKDIR}/DND/DNDdoc/* ${PREFIX}/share/doc/libdnd
.endif
	${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib

.include <bsd.port.mk>