1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

multimedia/gtk-recordmydesktop: fix runtime

- fix runtime by correcting shebang line
- set LICENSE_FILE
- set NO_ARCH since this package does not contain platform dependent files
- seitch to USES=localbase and correct requred python version
- bump PORTREVISION to reflect package changes

PR:		220800
Reported by:	timp87@gmail.com
MFH:		2018Q1
This commit is contained in:
Ruslan Makhmatkhanov 2018-02-11 19:41:30 +00:00
parent 4e9ec8600d
commit ea41ce5dc5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=461521

View File

@ -2,7 +2,7 @@
PORTNAME= gtk-recordmydesktop
PORTVERSION= 0.3.8
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= multimedia deskutils
MASTER_SITES= SF/recordmydesktop/gtk-recordMyDesktop/${PORTVERSION}
@ -10,18 +10,16 @@ MAINTAINER= rm@FreeBSD.org
COMMENT= GTK+ frontend to recordMyDesktop
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= ${LOCALBASE}/bin/recordmydesktop:multimedia/recordmydesktop
RUN_DEPENDS= recordmydesktop:multimedia/recordmydesktop
NO_ARCH= yes
GNU_CONFIGURE= yes
USES= desktop-file-utils gettext gmake pkgconfig python:2
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
USES= desktop-file-utils gettext gmake localbase pkgconfig \
python:2.7 shebangfix
SHEBANG_FILES= src/gtk-recordMyDesktop.in
USE_GNOME= gtk20 pygtk2
INSTALL_ICONS= yes
post-build:
@${REINPLACE_CMD} -e 's|/usr/bin|${PREFIX}/bin|' \
${WRKSRC}/src/gtk-recordMyDesktop
.include <bsd.port.mk>