1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

- Cleanup Makefile includes, remove depreciated MAN1= entry

This commit is contained in:
Kris Moore 2014-07-15 18:07:08 +00:00
parent ea30a4802a
commit 953a3a7978
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361993

View File

@ -3,6 +3,7 @@
PORTNAME= pipelight
DISTVERSION= 0.2.7.1
PORTREVISION= 1
CATEGORIES= emulators
MASTER_SITES= https://bitbucket.org/mmueller2012/pipelight/get/
DISTNAME= v${DISTVERSION}
@ -22,16 +23,6 @@ RUN_DEPENDS= ${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash \
${LOCALBASE}/bin/flock:${PORTSDIR}/sysutils/flock \
${LOCALBASE}/bin/gpg2:${PORTSDIR}/security/gnupg
.include <bsd.port.pre.mk>
.if ${ARCH} == "i386"
BUILD_DEPENDS+= ${LOCALBASE}/bin/wine:${PORTSDIR}/emulators/wine-devel
RUN_DEPENDS+= ${LOCALBASE}/bin/wine:${PORTSDIR}/emulators/wine-devel
.elif ${ARCH} == "amd64"
BUILD_DEPENDS+= ${LOCALBASE}/bin/wine:${PORTSDIR}/emulators/i386-wine-devel
RUN_DEPENDS+= ${LOCALBASE}/bin/wine:${PORTSDIR}/emulators/i386-wine-devel
.endif
WRKSRC= ${WRKDIR}/mmueller2012-pipelight-e2362eb15df6
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
@ -42,11 +33,19 @@ CONFIGURE_ARGS+=--verbose --wine-path=${LOCALBASE}/bin/wine --win32-prebuilt \
USES= compiler:c11 gmake
MAKE_JOBS_UNSAFE=yes
MAN1= pipelight-plugin.1
.include <bsd.port.pre.mk>
.if ${ARCH} == "i386"
BUILD_DEPENDS+= ${LOCALBASE}/bin/wine:${PORTSDIR}/emulators/wine-devel
RUN_DEPENDS+= ${LOCALBASE}/bin/wine:${PORTSDIR}/emulators/wine-devel
.elif ${ARCH} == "amd64"
BUILD_DEPENDS+= ${LOCALBASE}/bin/wine:${PORTSDIR}/emulators/i386-wine-devel
RUN_DEPENDS+= ${LOCALBASE}/bin/wine:${PORTSDIR}/emulators/i386-wine-devel
.endif
pre-configure:
${REINPLACE_CMD} "s|DISTVERSION|v${DISTVERSION}|g" ${WRKSRC}/src/windows/Makefile
${REINPLACE_CMD} "s|DISTVERSION|v${DISTVERSION}|g" ${WRKSRC}/src/winecheck/Makefile
${REINPLACE_CMD} "s|/share/man/man1|/man/man1|g" ${WRKSRC}/Makefile
.include <bsd.port.mk>
.include <bsd.port.post.mk>