mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
3e4ed01146
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG - Remove X11BASE support in favor of LOCALBASE or PREFIX - Use USE_LDCONFIG instead of INSTALLS_SHLIB - Remove unneeded USE_GCC 3.4+ Thanks to all Helpers: Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr, ehaupt, nox, itetcu, flz, pav PR: 116263 Tested on: pointyhat Approved by: portmgr (pav)
51 lines
1.4 KiB
Makefile
51 lines
1.4 KiB
Makefile
# New ports collection makefile for: xmbase-grok
|
|
# Date created: Sat Aug 30 13:29:42 CEST 1997
|
|
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xmbase-grok
|
|
PORTVERSION= 1.5
|
|
PORTREVISION= 2
|
|
CATEGORIES= databases
|
|
MASTER_SITES= ftp://grok.ftp.fu-berlin.de/ \
|
|
ftp://bitrot.de/pub/grok/
|
|
DISTNAME= ${PORTNAME:S/-/_/}-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Graphical Resource Organizer Kit
|
|
|
|
BUILD_WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
|
|
|
USE_XORG= x11 xt
|
|
USE_MOTIF= yes
|
|
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
|
|
|
|
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
|
|
@${TAR} -C ${WRKSRC}/demo -cf - . | \
|
|
${TAR} -C ${DATADIR}/grokdir -xf -
|
|
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DATADIR}/grokdir
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/doc/*.* ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|