summaryrefslogblamecommitdiff
path: root/sysutils/userneu-devel/Makefile
blob: 0b0bb5a88c1da3c3e012abc66916559c371f99c7 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                     





                                                        
                    


                                                                            

                                           




                                                    


                                                                                
 


                   







                                                                           

           
                                                                        
                                                                        
                                                                   
                                                                

                                                                  
                        
                            
                                                              
      

                      
# New ports collection makefile for:	userneu-devel
# Date created:		22 November 2003
# Whom:			Andreas Fehlner (fehlner@gmx.de)
#
# $FreeBSD$
#

PORTNAME=	userneu
PORTVERSION=	1.43
CATEGORIES=	sysutils
MASTER_SITES=	http://btmdx8.mat.uni-bayreuth.de/~johannes/files/userneu/ \
		http://home.arcor.de/fehlner/inhalt/download/
PKGNAMESUFFIX=	-devel
DISTNAME=	${PORTNAME}-${PORTVERSION}b

MAINTAINER=	fehlner@gmx.de
COMMENT=	Account management and creation tool

RUN_DEPENDS=	\
    ${SITE_PERL}/Crypt/PasswdMD5.pm:${PORTSDIR}/security/p5-Crypt-PasswdMD5/ \
    ${SITE_PERL}/Crypt/RandPasswd.pm:${PORTSDIR}/security/p5-Crypt-RandPasswd/ \
    ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5/

USE_PERL5=	yes
NO_BUILD=	yes

CONFLICTS=	userneu

SCRIPTS=	userneu.pl smbrepair.pl
MAN5=		userneu.conf.5
MAN8=		userneu.8
PORTDOCS=	BUGS CHANGES CREDITS REQUIREMENTS TODO \
		doc/README doc/INSTALL doc/userneu.pod doc/userneu.conf.pod
EXAMPLES=	userlist userneu.conf.example

do-install:
	cd ${WRKSRC}/doc && ${INSTALL_MAN} ${MAN8} ${MANPREFIX}/man/man8
	cd ${WRKSRC}/doc && ${INSTALL_MAN} ${MAN5} ${MANPREFIX}/man/man5
	cd ${WRKSRC} && ${INSTALL_SCRIPT} ${SCRIPTS} ${PREFIX}/sbin
	${LN} ${PREFIX}/sbin/userneu.pl ${PREFIX}/sbin/userquick
	@${MKDIR} ${EXAMPLESDIR}
	cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>