Changeset View
Changeset View
Standalone View
Standalone View
x11/xscreensaver/Makefile
PORTNAME= xscreensaver | PORTNAME= xscreensaver | ||||
PORTVERSION= 6.02 | PORTVERSION= 6.04 | ||||
PORTREVISION= 2 | |||||
CATEGORIES= x11 | CATEGORIES= x11 | ||||
MASTER_SITES= http://www.jwz.org/xscreensaver/ | MASTER_SITES= http://www.jwz.org/xscreensaver/ | ||||
MAINTAINER= x11@FreeBSD.org | MAINTAINER= x11@FreeBSD.org | ||||
COMMENT= Save your screen while you entertain your cat | COMMENT= Save your screen while you entertain your cat | ||||
LICENSE= MIT | LICENSE= MIT | ||||
RUN_DEPENDS= giftopnm:graphics/netpbm \ | RUN_DEPENDS= giftopnm:graphics/netpbm \ | ||||
p5-libwww>0:www/p5-libwww | p5-libwww>0:www/p5-libwww \ | ||||
p5-LWP-Protocol-https>0:www/p5-LWP-Protocol-https | |||||
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ | LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ | ||||
libfreetype.so:print/freetype2 \ | libfreetype.so:print/freetype2 \ | ||||
libgle.so:graphics/gle \ | libgle.so:graphics/gle \ | ||||
libharfbuzz.so:print/harfbuzz | libharfbuzz.so:print/harfbuzz | ||||
USES= autoreconf cpe gettext gl gmake gnome jpeg localbase:ldflags perl5 \ | USES= autoreconf cpe gettext gl gmake gnome jpeg localbase:ldflags \ | ||||
pkgconfig xorg | perl5 pkgconfig xorg | ||||
cy: This is a cosmetic change and should be a separate commit.
Changes like in an update… | |||||
USE_GL= gl glu | USE_GL= gl glu | ||||
USE_GNOME= cairo gdkpixbuf2 gdkpixbuf2xlib gtk20 intltool libglade2 libxml2 | USE_GNOME= cairo gdkpixbuf2 gdkpixbuf2xlib gtk20 intltool libglade2 libxml2 | ||||
USE_PERL5= run | USE_PERL5= run | ||||
USE_XORG= ice sm x11 xext xft xi xinerama xmu xrandr xrender xt xxf86vm | USE_XORG= ice sm x11 xext xft xi xinerama xmu xrandr xrender xt xxf86vm | ||||
CPE_VENDOR= xscreensaver_project | CPE_VENDOR= xscreensaver_project | ||||
GNU_CONFIGURE= yes | GNU_CONFIGURE= yes | ||||
CONFIGURE_ENV+= PERL="${PERL}" | CONFIGURE_ENV+= PERL="${PERL}" | ||||
Show All 18 Lines | |||||
MAKE_ARGS+= install_prefix=${STAGEDIR} | MAKE_ARGS+= install_prefix=${STAGEDIR} | ||||
MAKE_JOBS_UNSAFE= yes | MAKE_JOBS_UNSAFE= yes | ||||
OPTIONS_DEFINE= FIREF NLS NSFW PAM SETUID_HACKS XAOS1 XDALI XEARTH \ | OPTIONS_DEFINE= FIREF NLS NSFW PAM SETUID_HACKS XAOS1 XDALI XEARTH \ | ||||
XMOUN XPLANET XSNOW | XMOUN XPLANET XSNOW | ||||
OPTIONS_DEFAULT= PAM | OPTIONS_DEFAULT= PAM | ||||
OPTIONS_SUB= yes | OPTIONS_SUB= yes | ||||
PAM_CONFIGURE_WITH= passwd-helper=${PREFIX}/bin/pam_helper | PAM_CONFIGURE_WITH= pam | ||||
PAM_RUN_DEPENDS= pam_helper:security/pam_helper | PAM_RUN_DEPENDS= unix-selfauth-helper>0:security/unix-selfauth-helper | ||||
SETUID_HACKS_DESC= Install sonar hack suid so it can ping | SETUID_HACKS_DESC= Install sonar hack suid so it can ping | ||||
SETUID_HACKS_CONFIGURE_WITH= setuid-hacks | SETUID_HACKS_CONFIGURE_WITH= setuid-hacks | ||||
FIREF_DESC= Add extra port x11/fireflies | FIREF_DESC= Add extra port x11/fireflies | ||||
FIREF_RUN_DEPENDS= ${LOCALBASE}/bin/xscreensaver-hacks/fireflies:x11/fireflies | FIREF_RUN_DEPENDS= ${LOCALBASE}/bin/xscreensaver-hacks/fireflies:x11/fireflies | ||||
NLS_USES= gettext-runtime | NLS_USES= gettext-runtime | ||||
Show All 15 Lines | |||||
XPLANET_DESC= Add extra port astro/xplanet | XPLANET_DESC= Add extra port astro/xplanet | ||||
XPLANET_RUN_DEPENDS= xplanet:astro/xplanet | XPLANET_RUN_DEPENDS= xplanet:astro/xplanet | ||||
XSNOW_DESC= Add extra port x11/xsnow | XSNOW_DESC= Add extra port x11/xsnow | ||||
XSNOW_RUN_DEPENDS= xsnow:x11/xsnow | XSNOW_RUN_DEPENDS= xsnow:x11/xsnow | ||||
SUB_FILES= xscreensaver-blank.desktop xscreensaver-lock.desktop \ | SUB_FILES= xscreensaver-blank.desktop xscreensaver-lock.desktop \ | ||||
xscreensaver-start.desktop xscreensaver-stop.desktop | xscreensaver-start.desktop xscreensaver-stop.desktop \ | ||||
xscreensaver.pam | |||||
post-patch: | post-patch: | ||||
${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' \ | ${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' \ | ||||
-e 's|pkg_config --list-all|pkg_config --help|' \ | -e 's|pkg_config --list-all|pkg_config --help|' \ | ||||
${WRKSRC}/configure.ac | ${WRKSRC}/configure.ac | ||||
${REINPLACE_CMD} -e "s|/etc/pam.d|${PREFIX}/etc/pam.d|g" \ | ${REINPLACE_CMD} -e "s|/etc/pam.d|${PREFIX}/etc/pam.d|g" \ | ||||
${WRKSRC}/driver/passwd-pam.c \ | ${WRKSRC}/driver/passwd-pam.c \ | ||||
${WRKSRC}/driver/xscreensaver.man | ${WRKSRC}/driver/xscreensaver.man | ||||
post-patch-NSFW-off: | post-patch-NSFW-off: | ||||
${REINPLACE_CMD} -e 's|Dick Pix|Stuff|' ${WRKSRC}/hacks/bsod.c | ${REINPLACE_CMD} -e 's|Dick Pix|Stuff|' ${WRKSRC}/hacks/bsod.c | ||||
${REINPLACE_CMD} -e 's|dick pics|data, etc.|' ${WRKSRC}/hacks/bsod.c | ${REINPLACE_CMD} -e 's|dick pics|data, etc.|' ${WRKSRC}/hacks/bsod.c | ||||
post-install: | post-install: | ||||
${INSTALL_DATA} ${FILESDIR}/x*.xml ${STAGEDIR}${DATADIR}/config/ | ${INSTALL_DATA} ${FILESDIR}/x*.xml ${STAGEDIR}${DATADIR}/config/ | ||||
${INSTALL_DATA} ${WRKDIR}/*.desktop ${STAGEDIR}${PREFIX}/share/applications/ | ${INSTALL_DATA} ${WRKDIR}/*.desktop ${STAGEDIR}${PREFIX}/share/applications/ | ||||
${RM} ${STAGEDIR}${PREFIX}/etc/pam.d/xscreensaver.pam | ${RM} ${STAGEDIR}${PREFIX}/etc/pam.d/xscreensaver.pam | ||||
post-install-PAM-on: | post-install-PAM-on: | ||||
${INSTALL_DATA} ${FILESDIR}/xscreensaver.pam ${STAGEDIR}${PREFIX}/etc/pam.d/xscreensaver | ${INSTALL_DATA} ${WRKDIR}/xscreensaver.pam ${STAGEDIR}${PREFIX}/etc/pam.d/xscreensaver | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |
This is a cosmetic change and should be a separate commit.
Changes like in an update "something" mess up history making it difficult for those of us who follow looking to bisect some bug.
Though this change is simple enough it's counter to the make one change per commit paradigm.
If separate commits would break a port (or build in src) -- see my upcoming (not yet in the tree for a week or two) cde commit -- one would commit the jumbo patch with sufficient documentation in the commit log why all the changes are being done at once.