1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00

Major cleanup on this port - use new multiple DISTFILES mechanism,

add a script to plop a much more appropriate configure.h into place.
This commit is contained in:
Jordan K. Hubbard 1994-09-10 22:22:36 +00:00
parent 5d46f4f20f
commit 8e568d7acc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=68

View File

@ -3,36 +3,14 @@
# Date created: 25 August 1994
# Whom: jkh
#
# $Id: Makefile,v 1.1.1.1 1994/08/25 21:04:07 jkh Exp $
# $Id: Makefile,v 1.1.1.2 1994/09/01 19:22:36 jkh Exp $
#
DISTNAME= fvwm-1.23b
WRKSRC= ${.CURDIR}/work
NO_WRKSUBDIR= yes
DISTFILES= fvwm-1.23b-core.tar.gz fvwm-1.23b-modules.tar.gz \
fvwm-1.23-icons.tar.gz
HOME_LOCATION= ftp://spcot.sanders.com/pub/fvwm
USE_IMAKE= yes
# Gack! This is annoyingly necessary, since fvwm comes in 3 parts
# and I've no easy way of coping in the default rules.
EXTRACT_COOKIE= ${.CURDIR}/.extract_done
extract: ${EXTRACT_COOKIE}
${EXTRACT_COOKIE}:
@echo "===> Extracting for ${DISTNAME}"
@rm -rf ${WRKDIR}
@mkdir -p ${WRKDIR}
@if [ ! -f ${DISTDIR}/fvwm-1.23b-core.tar.gz ]; then \
echo ">> Sorry, can't find: ${DISTDIR}/fvwm-1.23b-core.tar.gz"; \
echo ">> Please obtain this file from:"; \
echo ">> ${HOME_LOCATION}"; \
echo ">>before proceeding."; \
exit 1; \
fi
@${EXTRACT_CMD} ${EXTRACT_ARGS} ${DISTDIR}/fvwm-1.23b-core.tar.gz
@if [ -f ${DISTDIR}/fvwm-1.23b-modules.tar.gz ]; then \
${EXTRACT_CMD} ${EXTRACT_ARGS} ${DISTDIR}/fvwm-1.23b-modules.tar.gz;\
fi
@if [ -f ${DISTDIR}/fvwm-1.23-icons.tar.gz ]; then \
${EXTRACT_CMD} ${EXTRACT_ARGS} ${DISTDIR}/fvwm-1.23-icons.tar.gz; \
fi
@touch -f ${EXTRACT_COOKIE}
.include <bsd.port.mk>