freebsd-ports/graphics/pixmap/Makefile
Satoshi Asami 713d629c8f Add header.
Define PKGNAME to reflect version number (2.6).
1995-02-28 01:09:58 +00:00

40 lines
1.1 KiB
Makefile

# New ports collection makefile for: pixmap
# Version required: 2.6
# Date created: 19 February 1995
# Whom: jmz
#
# $Id: Makefile,v 1.5 1995/01/13 12:49:18 jkh Exp $
#
USE_IMAKE= yes
DISTNAME= pixmap
PKGNAME= pixmap-2.6
LIB_DEPENDS= Xpm\\.4\\.:${PORTSDIR}/graphics/xpm
MASTER_SITES= ftp://ftp.x.org/pub/R6untarred/contrib/programs/
.if !defined(MASTER_SITE_OVERRIDE)
fetch: pre-fetch
@if [ ! -d ${DISTDIR} ]; then mkdir -p ${DISTDIR}; fi
@(cd ${DISTDIR}; \
for file in ${DISTFILES}; do \
if [ ! -f $$file -a ! -f `basename $$file` ]; then \
echo ">> $$file doesn't seem to exist on this system."; \
echo ">> Attempting to fetch it from a master site."; \
for site in ${MASTER_SITES}; do \
if ${NCFTP} -c ${NCFTPFLAGS} $${site}$${file} >$$file; then \
break; \
fi \
done; \
if [ ! -f $$file -a ! -f `basename $$file` ]; then \
echo ">> Couldn't fetch it - please try to retreive this";\
echo ">> port manually into ${DISTDIR} and try again."; \
exit 1; \
fi; \
fi \
done)
.endif
pre-patch:
@(cd ${WRKDIR}; mv pub/R6untarred/contrib/programs/pixmap .)
.include <bsd.port.mk>