freebsd-ports/devel/veepee/Makefile
Norikatsu Shigemura efb928619b o Main modification
graphics/gd(based on 1.8.4)    -> graphics/gd1
  graphics/gd2(based on 2.0.15)  -> graphics/gd
  graphics/p5-GD(based on 1.41)  -> graphics/p5-GD1
  graphics/p5-GD2(based on 2.07) -> graphics/p5-GD
  japanese/gd                    -> japanese/gd1
  japanese/gd2                   -> japanese/gd
o Include some feature
  WITH_XPM(w/, w/o WITHOUT_X11)
o Chase this modification
o Fix build error [1]

PR:		ports/54540
Submitted by:	Ports Fury
Approved by:	maintainer (blanket)
Reported by:	bento via kris [1]
2003-08-18 16:15:10 +00:00

53 lines
1.3 KiB
Makefile

# Ports collection Makefile for: veepee
# Date created: 2 August 2000
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= veepee
PORTVERSION= 1.0
PORTREVISION= 3
CATEGORIES= devel python gnome
MASTER_SITES= http://www.river-bank.demon.co.uk/software/
DISTNAME= VeePee-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A user orientated scripting environment for embedding in applications
LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd
USE_GNOME= gnomelibs
USE_XLIB= yes
USE_PYTHON= yes
USE_LIBTOOL= yes
USE_REINPLACE= yes
CONFIGURE_ENV= LDFLAGS="${PTHREAD_LIBS} ${PYTHON_LIBS}"
CONFIGURE_ARGS= --with-gd-includes=${LOCALBASE}/include \
--disable-kde
.if exists(/usr/lib/libcrypto.a)
PYTHON_LIBS+= -lssl -lcrypto
.endif
pre-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|#include <values.h>||g' \
${WRKSRC}/pymod/gdchart/gdc_pie.c
post-configure:
@${REINPLACE_CMD} -e \
's|^deplibs_check_method=.*|deplibs_check_method=pass_all|' \
${WRKSRC}/libtool
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/veepee
${MKDIR} ${PREFIX}/share/examples/veepee
cd ${WRKSRC}/doc && \
${INSTALL_DATA} GNOMEapi.txt controls.txt ${PREFIX}/share/doc/veepee
cd ${WRKSRC}/examples && \
${INSTALL_SCRIPT} *.py ${PREFIX}/share/examples/veepee
.endif
.include <bsd.port.mk>