1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00

Use BUILD_WRKSRC and INSTALL_WRKSRC instead of manual method.

Suggested by:	sat
This commit is contained in:
Jeremy Messenger 2007-07-12 17:16:43 +00:00
parent ef05954650
commit 1bdab59a59
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=195480

View File

@ -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"