diff options
Diffstat (limited to 'x11/xbanner/Makefile')
-rw-r--r-- | x11/xbanner/Makefile | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/x11/xbanner/Makefile b/x11/xbanner/Makefile index 6a23ec6..ae9e802 100644 --- a/x11/xbanner/Makefile +++ b/x11/xbanner/Makefile @@ -9,31 +9,32 @@ DISTNAME= XBanner1.31 PKGNAME= xbanner-1.31 CATEGORIES= x11 -MASTER_SITES= ftp://physics.fullerton.edu/pub/Linux/XBanner/ \ +MASTER_SITES= ftp://ftp.digital.com/pub/linux/XBanner/ \ ftp://ftp.uni-bielefeld.de/pub/systems/FreeBSD/lkoeller/ \ ${MASTER_SITE_SUNSITE} -MASTER_SITE_SUBDIR=X11/xutils +MASTER_SITE_SUBDIR= X11/xutils -MAINTAINER= ports@FreeBSD.org +MAINTAINER= ports@FreeBSD.org LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm USE_X_PREFIX= yes #USE_IMAKE= yes + post-patch: - ${MV} ${WRKSRC}/xres.c ${WRKSRC}/xres.c.input - ${SED} "s:%%X11BASE%%:${X11BASE}:" ${WRKSRC}/xres.c.input > ${WRKSRC}/xres.c - ${RM} -f ${WRKSRC}/xres.c.input + @${PERL} -pi -e 's|%%X11BASE%%|${X11BASE}|g' ${WRKSRC}/xres.c + @${PERL} -pi -e 's|%%X11BASE%%|${X11BASE}|g' ${WRKSRC}/samples/XBanner.ad post-install: - ${INSTALL_DATA} ${WRKSRC}/samples/XBanner.ad \ - $(X11BASE)/lib/X11/app-defaults/XBanner + ${INSTALL_DATA} ${WRKSRC}/samples/XBanner.ad \ + ${PREFIX}/lib/X11/app-defaults/XBanner .if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/share/doc/XBanner - $(CP) ${WRKSRC}/QuickStart ${PREFIX}/share/doc/XBanner - ${CP} ${WRKSRC}/docs/* ${PREFIX}/share/doc/XBanner - ${MKDIR} ${PREFIX}/share/examples/XBanner - $(CP) ${WRKSRC}/samples/_other_ideas/* ${PREFIX}/share/examples/XBanner + @${MKDIR} ${PREFIX}/share/doc/XBanner + ${INSTALL_DATA} ${WRKSRC}/QuickStart ${PREFIX}/share/doc/XBanner + ${INSTALL_DATA} ${WRKSRC}/docs/* ${PREFIX}/share/doc/XBanner + @${MKDIR} ${PREFIX}/share/examples/XBanner + ${INSTALL_DATA} ${WRKSRC}/samples/_other_ideas/* \ + ${PREFIX}/share/examples/XBanner .endif .include <bsd.port.mk> |