diff options
Diffstat (limited to 'comms/estic/Makefile')
-rw-r--r-- | comms/estic/Makefile | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/comms/estic/Makefile b/comms/estic/Makefile index 29d6df18eb2..fd410e35495 100644 --- a/comms/estic/Makefile +++ b/comms/estic/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.33 2012/10/03 11:24:39 asau Exp $ +# $NetBSD: Makefile,v 1.34 2012/11/16 00:37:06 joerg Exp $ DISTNAME= estic-1.61 PKGREVISION= 2 @@ -14,7 +14,7 @@ LICENSE= estic-license EXTRACT_ONLY= estic-1.60-sources${EXTRACT_SUFX} -WRKSRC= ${WRKDIR}/${PKGNAME_NOREV:C/-.*//} +WRKSRC= ${WRKDIR} USE_LANGUAGES= c c++ USE_TOOLS+= patch unzip @@ -23,6 +23,8 @@ BUILD_TARGET= depend all ESTICPATCH= ${DISTNAME}-patch-from-1.60${EXTRACT_SUFX} MAKE_FILE= make/freebsd-x.mak +BUILD_DIRS= ${WRKDIR}/${PKGNAME_NOREV:C/-.*//} + .include "../../mk/bsd.prefs.mk" .if ${OPSYS} == "SunOS" CPPFLAGS+= -DSOLARIS @@ -33,7 +35,7 @@ CPPFLAGS+= -DFREEBSD INSTALLATION_DIRS= bin post-extract: - cd ${WRKSRC} && \ + cd ${BUILD_DIRS} && \ unzip -p ${DISTDIR}/${ESTICPATCH} \ | ${PATCH} -p0 ${PATCH_DIST_ARGS} @@ -41,12 +43,12 @@ pre-build: cd ${WRKDIR}/spunk && ${BUILD_MAKE_CMD} depend lib do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/xestic ${DESTDIR}${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/estic.res ${DESTDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${BUILD_DIRS}/xestic ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA} ${BUILD_DIRS}/estic.res ${DESTDIR}${PREFIX}/bin ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/estic - ${INSTALL_DATA} ${WRKSRC}/estic.doc ${DESTDIR}${PREFIX}/share/doc/estic + ${INSTALL_DATA} ${BUILD_DIRS}/estic.doc ${DESTDIR}${PREFIX}/share/doc/estic ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/estic - cd ${WRKSRC}/samples && \ + cd ${BUILD_DIRS}/samples && \ ${INSTALL_DATA} * ${DESTDIR}${PREFIX}/share/examples/estic .include "../../x11/libX11/buildlink3.mk" |