aboutsummaryrefslogblamecommitdiff
path: root/mail/ripmime/Makefile
blob: 4cedb8b51cf1a5213fc44a8ed29d26a6254b960f (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                   
           

                       
                        
                    


                                                   
 
                                  
                                                                           
 
                           
                   
 
                           
                         
 
          
                                                                     


                                                              
 

                                                           
                                                                 
 



                             
# Created by: Justin Stanford <jus@security.za.net>
# $FreeBSD$

PORTNAME=	ripmime
PORTVERSION=	1.4.0.10
CATEGORIES=	mail
MASTER_SITES=	http://www.pldaniels.com/ripmime/ \
		${MASTER_SITE_GENTOO}
MASTER_SITE_SUBDIR=	distfiles

MAINTAINER=	dinoex@FreeBSD.org
COMMENT=	Extracts attached files out of a MIME encoded email package

MAKE_JOBS_UNSAFE=	yes
NO_STAGE=	yes

PLIST_FILES=	bin/ripmime
MAN1=		ripmime.1

pre-build:
	@${REINPLACE_CMD} -e 's!CC=!CC?=!; s!/usr/local!${PREFIX}!; \
		s!^CFLAGS=!CFLAGS ?=!' \
		${WRKSRC}/Makefile ${WRKSRC}/ripOLE/Makefile \
		${WRKSRC}/tnef/Makefile

do_install:
	${INSTALL_PROGRAM} ${WRKSRC}/ripmime ${PREFIX}/bin/
	${INSTALL_MAN} ${WRKSRC}/ripmime.1 ${MANPREFIX}/man/man1/

post-install:
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>