1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- update to 5485

while here:
- trim Makefile header
- remove shlib versions (portlint warning)
- convert to optionsng (and rename GL option to OPENGL to pick existing option
  description from bsd.options.desc.mk)
- break an overly long line

PR:		173199
Submitted by:	Matthias Sund <m.sund at arcor dot de> (maintainer)
Feature safe:	yes
This commit is contained in:
Ruslan Makhmatkhanov 2012-11-01 09:06:40 +00:00
parent 25e37416fd
commit a182b55b9b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=306787
2 changed files with 27 additions and 30 deletions

View File

@ -1,13 +1,8 @@
# New ports collection makefile for: upp
# Date created: February, 8th 2006
# Whom: Matthias Sund <m.sund@arcor.de>
#
# Created by: Matthias Sund <m.sund@arcor.de>
# $FreeBSD$
#
PORTNAME= upp
PORTVERSION= 4193
PORTREVISION= 2
PORTVERSION= 5485
CATEGORIES= devel x11-toolkits
MASTER_SITES= SF
DISTNAME= ${PORTNAME}-x11-src-${PORTVERSION}
@ -17,52 +12,53 @@ COMMENT= Ultimate++, a BSD-licensed, cross-platform, C/C++ RAD suite
LICENSE= BSD
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \
expat.6:${PORTSDIR}/textproc/expat2 \
notify.4:${PORTSDIR}/devel/libnotify
LIB_DEPENDS= freetype:${PORTSDIR}/print/freetype2 \
expat:${PORTSDIR}/textproc/expat2 \
notify:${PORTSDIR}/devel/libnotify
USE_XORG= xft
USE_GNOME= gtk20
USE_GMAKE= yes
WRKSRC= ${WRKDIR}/${DISTNAME}
WRKSRC= ${WRKDIR}/${DISTNAME}
BUILD_WRKSRC= ${WRKSRC}/uppsrc
MAKE_JOBS_SAFE= yes
MACRO_FLAGS= -DflagGUI -DflagGCC -DflagSHARED -DflagPOSIX -DflagBSD -DflagFREEBSD
MAKE_ARGS= UPPOUT="../_out/" OutFile="../theide" \
Macro="${MACRO_FLAGS}" \
LIBPATH="-L${LOCALBASE}/lib -L/usr/lib" \
CINC="-I. -I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2 -I${LOCALBASE}/include/gtk-2.0 -I${LOCALBASE}/include/atk-1.0 -I${LOCALBASE}/include/cairo -I${LOCALBASE}/include/gdk-pixbuf-2.0 -I${LOCALBASE}/include/pango-1.0 -I${LOCALBASE}/include/glib-2.0 -I${LOCALBASE}/include/libpng -I/usr/include"
Macro="${MACRO_FLAGS}" \
LIBPATH="-L${LOCALBASE}/lib -L/usr/lib" \
CINC="-I. -I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2 \
-I${LOCALBASE}/include/gtk-2.0 -I${LOCALBASE}/include/atk-1.0 \
-I${LOCALBASE}/include/cairo -I${LOCALBASE}/include/gdk-pixbuf-2.0 \
-I${LOCALBASE}/include/pango-1.0 -I${LOCALBASE}/include/glib-2.0 \
-I${LOCALBASE}/include/libpng -I/usr/include"
PORTDATA= bazaar examples reference tutorial uppsrc GCC.bm
DESKTOP_ENTRIES="TheIDE" "IDE for cross-platform C++ development" \
"${DATADIR}/uppsrc/ide/theide-48.png" "theide" \
"Application;Development;IDE;" ${FALSE}
"${DATADIR}/uppsrc/ide/theide-48.png" "theide" \
"Application;Development;IDE;" ${FALSE}
OPTIONS= SDL "Install with SDL library" off \
GL "Install wiht OpenGL library" off \
MYSQL "Install with MySQL database" off \
PGSQL "Install with PostreSQL database" off \
USEMALLOC "Compile without U++ heap allocator" off
OPTIONS_DEFINE= SDL OPENGL MYSQL PGSQL USEMALLOC
USEMALLOC_DESC= Compile without U++ heap allocator
.include <bsd.port.pre.mk>
.include <bsd.port.options.mk>
.if defined(WITH_SDL)
.if ${PORT_OPTIONS:MSDL}
USE_SDL= sdl
.endif
.if defined(WITH_GL)
.if ${PORT_OPTIONS:MOPENGL}
USE_GL= gl
.endif
.if defined(WITH_MYSQL)
.if ${PORT_OPTIONS:MMYSQL}
USE_MYSQL= yes
.endif
.if defined(WITH_PGSQL)
.if ${PORT_OPTIONS:MPGSQL}
USE_PGSQL= yes
.endif
.if defined(WITH_USEMALLOC)
.if ${PORT_OPTIONS:MUSEMALLOC}
MACRO_FLAGS+= -DflagUSEMALLOC
.endif
@ -71,6 +67,7 @@ BROKEN= Does not compile on ia64, powerpc, or sparc64
.endif
pre-build: .SILENT
${MV} ${BUILD_WRKSRC}/Makefile.in ${BUILD_WRKSRC}/Makefile
${REINPLACE_CMD} -e '/^CC =/d;/^CFLAGS =/d;/^CXXFLAGS =/d;/^LDFLAGS =/d' \
-e 's|$$(CC)|$$(CXX)|' \
-e 's|-Linux-|-BSD-FreeBSD-|' \
@ -109,4 +106,4 @@ do-install: .SILENT
post-install:
@${ECHO_CMD} bin/theide >> ${TMPPLIST}
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (upp-x11-src-4193.tar.gz) = 9e738d22543e8ece3cba2560b09f5a5245937b4af2980398f1480bf69197a555
SIZE (upp-x11-src-4193.tar.gz) = 38477841
SHA256 (upp-x11-src-5485.tar.gz) = d6f9c5991c7aceb9df71d5723fd3b591c3201c05b05795eb063bc634dc5a0bb1
SIZE (upp-x11-src-5485.tar.gz) = 36693193