1efea212c4
avoid trouble, fetch them as part of $DISTFILES and apply in a pre-patch target. Update my e-mail address in Whom: line. Remove my name from the MAINTAINER line. Any takers?
42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
# New ports collection makefile for: unroff
|
|
# Version required: 1.0
|
|
# Date created: 18 Feb 1996
|
|
# Whom: Thomas Gellekum <tg@freebsd.org>
|
|
#
|
|
# $Id: Makefile,v 1.3 1996/11/17 08:45:18 obrien Exp $
|
|
#
|
|
|
|
DISTNAME= unroff-1.0
|
|
PKGNAME= unroff-1.0.2
|
|
CATEGORIES= print
|
|
MASTER_SITES= ${UNROFF_SITE}/dist/ \
|
|
${UNROFF_SITE}/contrib/
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${PATCH1} ${PATCH2}
|
|
|
|
MAINTAINER= ports@freebsd.org
|
|
|
|
RUN_DEPENDS= elk:${PORTSDIR}/lang/elk
|
|
BUILD_DEPENDS= elk:${PORTSDIR}/lang/elk
|
|
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
|
DIST_SUBDIR= unroff
|
|
PATCH_STRIP= -p1
|
|
|
|
UNROFF_SITE= http://www-rn.informatik.uni-bremen.de/software/unroff
|
|
PATCH1= me-misc-patch
|
|
PATCH2= misc-patch-2
|
|
|
|
pre-patch:
|
|
@${ECHO_MSG} "===> Applying distribution patches for ${PKGNAME}"
|
|
@(cd ${_DISTDIR}; \
|
|
if [ ${PATCH_DEBUG_TMP} = yes ]; then \
|
|
${ECHO_MSG} "===> Applying distribution patch ${PATCH1}" ; \
|
|
fi; \
|
|
${PATCH} ${PATCH_DIST_ARGS} -p0 < ${PATCH1}; \
|
|
if [ ${PATCH_DEBUG_TMP} = yes ]; then \
|
|
${ECHO_MSG} "===> Applying distribution patch ${PATCH2}" ; \
|
|
fi; \
|
|
${PATCH} ${PATCH_DIST_ARGS} -p1 < ${PATCH2})
|
|
|
|
.include <bsd.port.mk>
|