blob: a356d7d81a462692449818a5fe9babdf54411b52 (
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
38
39
40
41
42
43
44
45
46
|
# Created by: Andreas Klemm <andreas@klemm.gtn.com>
# $FreeBSD$
PORTNAME= xmbase-grok
PORTVERSION= 1.5
PORTREVISION= 3
CATEGORIES= databases
MASTER_SITES= http://www.sourcefiles.org/Databases/Relational/ \
http://fossies.org/unix/misc/old/ \
ftp://grok.ftp.fu-berlin.de/
DISTNAME= ${PORTNAME:S/-/_/}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Graphical Resource Organizer Kit
BUILD_WRKSRC= ${WRKDIR}/${DISTNAME}/src
USES= motif
USE_XORG= x11 xt
MAKE_ENV= MYCC="${CC}" DEBUG="${CFLAGS}" YO="" INCDIR="" \
GBIN="${PREFIX}/bin" GLIB="${DATADIR}" \
CF="-I${LOCALBASE}/include" LF="${MOTIFLIB} -lXt -lX11 -lm"
MAN1= grok.1
DATADIR= ${PREFIX}/lib/X11/xmbase-grok
NO_STAGE= yes
pre-patch:
@${REINPLACE_CMD} -e 's|^GBIN =|#GBIN =|g ; \
s|^GLIB =|#GLIB =|g ; \
s|^DEBUG =|#DEBUG =|g' ${BUILD_WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/grok ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/man/grok.1 ${MANPREFIX}/man/man1
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/misc/grok.hlp ${DATADIR}
@${MKDIR} ${DATADIR}/grokdir
@(cd ${WRKSRC}/demo && ${COPYTREE_SHARE} . ${DATADIR}/grokdir)
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.* ${DOCSDIR}
.endif
.include <bsd.port.mk>
|