1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00

x11/lightdm-gtk-greeter-settings: Cleanup {.bak,.orig} files

This commit is contained in:
Ben Woods 2021-01-19 23:05:37 +00:00
parent bcfab3b817
commit 4afaf4ad78
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=562100

View File

@ -3,6 +3,7 @@
PORTNAME= lightdm-gtk-greeter-settings
PORTVERSION= 1.2.2
PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= https://launchpad.net/${PORTNAME}/${PORTVERSION:R}/${PORTVERSION}/+download/
@ -25,12 +26,17 @@ PLIST_FILES= ${PYTHON_SITELIBDIR}/lightdm_gtk_greeter_settings/installation_conf
PYDISTUTILS_INSTALLARGS+= --xfce-integration
post-patch:
@${RM} ${WRKSRC}/bin/lightdm-gtk-greeter-settings-pkexec.orig
@${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX},g" \
-e "s,%%LOCALBASE%%,${LOCALBASE},g" \
${WRKSRC}/bin/lightdm-gtk-greeter-settings-pkexec \
${WRKSRC}/lightdm_gtk_greeter_settings/helpers.py \
${WRKSRC}/setup.py
@${RM} -v ${WRKSRC}/bin/lightdm-gtk-greeter-settings-pkexec.bak
@${RM} -v ${WRKSRC}/bin/lightdm-gtk-greeter-settings-pkexec.orig
@${RM} -v ${WRKSRC}/lightdm_gtk_greeter_settings/helpers.py.bak
@${RM} -v ${WRKSRC}/lightdm_gtk_greeter_settings/helpers.py.orig
@${RM} -v ${WRKSRC}/setup.py.bak
@${RM} -v ${WRKSRC}/setup.py.orig
.include <bsd.port.pre.mk>