diff options
author | mezz <mezz@FreeBSD.org> | 2007-07-13 01:16:43 +0800 |
---|---|---|
committer | mezz <mezz@FreeBSD.org> | 2007-07-13 01:16:43 +0800 |
commit | 8a6e7cf87e1982960adfa777dd371f6327ec4c34 (patch) | |
tree | b3cf97401fcccc173eba8e55527bf3690ce0c657 /devel | |
parent | aeb4cd487382c2e2e2badb4d067196b0c0283df1 (diff) | |
download | freebsd-ports-gnome-8a6e7cf87e1982960adfa777dd371f6327ec4c34.tar.gz freebsd-ports-gnome-8a6e7cf87e1982960adfa777dd371f6327ec4c34.tar.zst freebsd-ports-gnome-8a6e7cf87e1982960adfa777dd371f6327ec4c34.zip |
Use BUILD_WRKSRC and INSTALL_WRKSRC instead of manual method.
Suggested by: sat
Diffstat (limited to 'devel')
-rw-r--r-- | devel/libgsf-gnome/Makefile | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/devel/libgsf-gnome/Makefile b/devel/libgsf-gnome/Makefile index cce59e5a2ca0..5d3d444c8f9e 100644 --- a/devel/libgsf-gnome/Makefile +++ b/devel/libgsf-gnome/Makefile @@ -14,6 +14,8 @@ MAINTAINER= gnome@FreeBSD.org COMMENT= A GNOME wrapper for libgsf MASTERDIR= ${.CURDIR}/../libgsf +BUILD_WRKSRC= ${WRKSRC}/gsf-gnome +INSTALL_WRKSRC= ${WRKSRC}/gsf-gnome DESCR= ${.CURDIR}/pkg-descr PLIST= ${.CURDIR}/pkg-plist @@ -25,12 +27,9 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ GSF_SLAVE= yes -do-build: - @cd ${WRKSRC}/gsf-gnome && ${MAKE} - -do-install: - cd ${WRKSRC}/gsf-gnome && ${MAKE} ${INSTALL_TARGET} - ${MKDIR} ${PREFIX}/libdata/pkgconfig - ${INSTALL_DATA} ${WRKSRC}/libgsf-gnome-1.pc ${PREFIX}/libdata/pkgconfig +post-install: + @${MKDIR} ${PREFIX}/libdata/pkgconfig + @${INSTALL_DATA} ${WRKSRC}/libgsf-gnome-1.pc \ + ${PREFIX}/libdata/pkgconfig/ .include "${MASTERDIR}/Makefile" |