34 lines
684 B
Makefile
34 lines
684 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= winetricks
|
|
PORTVERSION= 20181203
|
|
CATEGORIES= emulators
|
|
|
|
MAINTAINER= lifanov@FreeBSD.org
|
|
COMMENT= Easy way to work around problems in Wine
|
|
|
|
LICENSE= LGPL21
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
RUN_DEPENDS= cabextract:archivers/cabextract
|
|
|
|
.if !defined(WITHOUT_X11)
|
|
RUN_DEPENDS+= zenity:x11/zenity xdg-open:devel/xdg-utils
|
|
.endif
|
|
|
|
USES= perl5
|
|
USE_PERL5= run
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= Winetricks
|
|
|
|
NO_ARCH= yes
|
|
NO_BUILD= yes
|
|
PLIST_FILES= bin/winetricks man/man1/winetricks.1.gz
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/src/winetricks ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/src/winetricks.1 \
|
|
${STAGEDIR}${MAN1PREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|