diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2014-02-27 09:22:59 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2014-02-27 09:22:59 +0000 |
commit | 8369f3b7e6e3499744faf11b3231697e09e60dd4 (patch) | |
tree | 5e412848fdf42830e92e0ef0bddcdeeff44d2f15 /astro | |
parent | 2f244ca70bdbbad548716baa4a4aa41341ec15b5 (diff) | |
download | ports-8369f3b7e6e3499744faf11b3231697e09e60dd4.tar.gz ports-8369f3b7e6e3499744faf11b3231697e09e60dd4.zip |
Notes
Diffstat (limited to 'astro')
-rw-r--r-- | astro/sunclock/Makefile | 34 | ||||
-rw-r--r-- | astro/sunclock/distinfo | 4 |
2 files changed, 20 insertions, 18 deletions
diff --git a/astro/sunclock/Makefile b/astro/sunclock/Makefile index 0c757621e097..4e51660722f9 100644 --- a/astro/sunclock/Makefile +++ b/astro/sunclock/Makefile @@ -4,20 +4,19 @@ PORTNAME= sunclock PORTVERSION= 3.57 CATEGORIES= astro x11-clocks -MASTER_SITES= http://www.arvernes.com/files/jpd/ \ +MASTER_SITES= DEBIAN +DISTNAME= ${PORTNAME}_${PORTVERSION}.orig MAINTAINER= ports@FreeBSD.org COMMENT= Shows which portion of the Earth's surface is illuminated by the Sun -DEPRECATED= No more public distfiles -EXPIRATION_DATE= 2014-03-07 - LICENSE= GPLv2 LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ libpng15.so:${PORTSDIR}/graphics/png -USE_BZIP2= yes +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} + USE_XORG= xpm CPPFLAGS+= $$(libpng-config --I_opts) \ @@ -27,8 +26,6 @@ CPPFLAGS+= $$(libpng-config --I_opts) \ LDFLAGS+= $$(libpng-config --L_opts) \ -L${LOCALBASE}/lib -MAN1= sunclock.1 - post-patch: @cd ${WRKSRC} && ${SED} -e \ '/^DESTDIR/s|=.*|=${PREFIX}| ; \ @@ -52,19 +49,24 @@ post-patch: 's|gzFile \* fd;|gzFile fd;|' ${WRKSRC}/readvmf.c do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/sunclock ${STAGEDIR}${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/sunclock.1 ${STAGEDIR}${MANPREFIX}/man/man1 + (cd ${WRKSRC} && ${INSTALL_PROGRAM} sunclock \ + ${STAGEDIR}${PREFIX}/bin) + (cd ${WRKSRC} && ${INSTALL_MAN} sunclock.1 \ + ${STAGEDIR}${MANPREFIX}/man/man1) @${MKDIR} ${STAGEDIR}${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/Sunclockrc ${STAGEDIR}${DATADIR} + (cd ${WRKSRC} && ${INSTALL_DATA} Sunclockrc \ + ${STAGEDIR}${DATADIR}) @${MKDIR} ${STAGEDIR}${DATADIR}/earthmaps/vmf - ${INSTALL_DATA} ${WRKSRC}/vmf/*.vmf ${STAGEDIR}${DATADIR}/earthmaps/vmf + (cd ${WRKSRC}/vmf && ${INSTALL_DATA} *.vmf \ + ${STAGEDIR}${DATADIR}/earthmaps/vmf) @${GZIP_CMD} ${STAGEDIR}${DATADIR}/earthmaps/vmf/*.vmf @${MKDIR} ${STAGEDIR}${DATADIR}/i18n - ${INSTALL_DATA} ${WRKSRC}/i18n/Sunclock.?? ${STAGEDIR}${DATADIR}/i18n - ${INSTALL_PROGRAM} ${WRKSRC}/editkit/emx ${STAGEDIR}${PREFIX}/bin + (cd ${WRKSRC}/i18n && ${INSTALL_DATA} Sunclock.?? \ + ${STAGEDIR}${DATADIR}/i18n) + (cd ${WRKSRC}/editkit && ${INSTALL_PROGRAM} emx \ + ${STAGEDIR}${PREFIX}/bin) @${MKDIR} ${STAGEDIR}${DATADIR}/editkit - ${INSTALL_DATA} ${WRKSRC}/editkit/MANUAL.emacs ${STAGEDIR}${DATADIR}/editkit - ${INSTALL_DATA} ${WRKSRC}/editkit/README ${STAGEDIR}${DATADIR}/editkit - ${INSTALL_DATA} ${WRKSRC}/editkit/emxrc ${STAGEDIR}${DATADIR}/editkit + (cd ${WRKSRC}/editkit && ${INSTALL_DATA} MANUAL.emacs README emxrc \ + ${STAGEDIR}${DATADIR}/editkit) .include <bsd.port.mk> diff --git a/astro/sunclock/distinfo b/astro/sunclock/distinfo index 36574f384a29..79013869f6ae 100644 --- a/astro/sunclock/distinfo +++ b/astro/sunclock/distinfo @@ -1,2 +1,2 @@ -SHA256 (sunclock-3.57.tar.bz2) = 4328200ceaa31160e901fb855d664033566d72b26a90605acc5d0ed9365402be -SIZE (sunclock-3.57.tar.bz2) = 1325138 +SHA256 (sunclock_3.57.orig.tar.gz) = f3b3499b4a84c7a31411d2a9043e2d9171b745ec29a991ef9930ce582b9d41ab +SIZE (sunclock_3.57.orig.tar.gz) = 1571073 |