diff options
author | vs <vs@FreeBSD.org> | 2005-11-02 20:37:16 +0800 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2005-11-02 20:37:16 +0800 |
commit | 8f366588e4722a0e1949e07de5dde720f456cabd (patch) | |
tree | 65dfe60ab95bb4dc020de4e79e946a3458d737c4 /graphics/agg | |
parent | 985900813efa709c0a981d8acf199d1bc1e2fc73 (diff) | |
download | freebsd-ports-gnome-8f366588e4722a0e1949e07de5dde720f456cabd.tar.gz freebsd-ports-gnome-8f366588e4722a0e1949e07de5dde720f456cabd.tar.zst freebsd-ports-gnome-8f366588e4722a0e1949e07de5dde720f456cabd.zip |
Simplify build-logic a bit
Diffstat (limited to 'graphics/agg')
-rw-r--r-- | graphics/agg/Makefile | 9 | ||||
-rw-r--r-- | graphics/agg/files/Makefile.in.FreeBSD | 1 |
2 files changed, 3 insertions, 7 deletions
diff --git a/graphics/agg/Makefile b/graphics/agg/Makefile index 712f804e2645..99af2c4b2fe1 100644 --- a/graphics/agg/Makefile +++ b/graphics/agg/Makefile @@ -18,9 +18,10 @@ DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g} MAINTAINER= ports@FreeBSD.org COMMENT= A High Quality Rendering Engine for C++ -WRKSRC= ${WRKDIR}/agg23 +BUILD_WRKSRC= ${WRKDIR}/agg23/src USE_GMAKE= yes -MAKE_ENV= C="${CC}" CXX="${CXX}" +MAKE_ENV= C="${CC}" CXX="${CXX}" AGGCXXFLAGS="${CXXFLAGS}" +CXXFLAGS+= -I${X11BASE}/include -L${X11BASE}/lib -I../include -L./ PLIST_FILES= lib/libagg.a @@ -28,10 +29,6 @@ PLIST_FILES= lib/libagg.a post-extract: @${CP} -f ${FILESDIR}/Makefile.in.FreeBSD ${WRKSRC} - @${SED} 's,%%X11BASE%%,${X11BASE},g' < ${FILESDIR}/Makefile.in.FreeBSD > ${WRKSRC}/Makefile.in.FreeBSD - -do-build: - @cd ${WRKSRC}/src && ${SETENV} ${MAKE_ENV} ${GMAKE} all && ranlib libagg.a do-install: ${INSTALL_DATA} ${WRKSRC}/src/libagg.a ${PREFIX}/lib diff --git a/graphics/agg/files/Makefile.in.FreeBSD b/graphics/agg/files/Makefile.in.FreeBSD index b6456841022b..6c5567ecd365 100644 --- a/graphics/agg/files/Makefile.in.FreeBSD +++ b/graphics/agg/files/Makefile.in.FreeBSD @@ -1,5 +1,4 @@ AGGLIBS= -lagg -AGGCXXFLAGS = -I%%X11BASE%%/include -L%%X11BASE%%/lib #CXX = #C = gcc #CXX = icc |