summaryrefslogblamecommitdiff
path: root/print/apsfilter/Makefile
blob: e902a0bede1a809ec87c35d66e0dab7e0f6ebe38 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                 
                             
                                                    
                                                             
 
           

 
                               
                     
                                                                   
 
                                   
 
                                                    
 
                   

                                   
                                          









                                                                      
      








                                                                                
 


                                                  
 
                      
# New ports collection makefile for:	apsfilter
# Version required: 	4.9.3
# Date created: 	Tue Nov 14 18:29:48 MET 1995
# Whom: 		Andreas Klemm <andreas@klemm.gtn.com>
#
# $FreeBSD$
#

DISTNAME=	apsfilter-5.1.3
CATEGORIES=	print
MASTER_SITES=	http://www.FreeBSD.org/~andreas/apsfilter/download/

MAINTAINER=	andreas@FreeBSD.org

RUN_DEPENDS=	recode:${PORTSDIR}/converters/recode

USE_BZIP2=	yes
WRKSRC=		${WRKDIR}/apsfilter

# make a2ps port happy in this early stage
PAPERSIZE?=letter

pre-configure:
	rm -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc

# This was copied from bsd.port.mk because a missing post-clean target
# is needed
clean:
.if !defined(NOCLEANDEPENDS)
	@${MAKE} clean-depends
.endif
	@${ECHO_MSG} "===>  Cleaning for ${PKGNAME}"
	@if [ -d ${WRKDIR} ]; then \
		if [ -w ${WRKDIR} ]; then \
			${RM} -rf ${WRKDIR}; \
		else \
			${ECHO_MSG} "===>   ${WRKDIR} not writable, skipping"; \
		fi; \
	fi
	@${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc

.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc)
.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
.endif

.include <bsd.port.mk>