35 lines
778 B
Makefile
35 lines
778 B
Makefile
# $OpenBSD: Makefile,v 1.22 2010/10/23 22:01:30 sthen Exp $
|
|
|
|
COMMENT= external MIME packer/unpacker
|
|
|
|
V= 1.5
|
|
DISTNAME= mpack-${V}-src
|
|
PKGNAME= mpack-${V}
|
|
REVISION= 1
|
|
CATEGORIES= converters mail news
|
|
|
|
# License: BSD
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB= c
|
|
|
|
MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/mpack/
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
WRKDIST= ${WRKDIR}/mpack
|
|
MAKE_ENV= CC="${CC}" CFLAGS="${CFLAGS}"
|
|
|
|
USE_GROFF = Yes
|
|
NO_REGRESS= Yes
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/mpack ${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/munpack ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/unixpk.man ${PREFIX}/man/man1/mpack.1
|
|
${INSTALL_MAN} ${WRKSRC}/unixunpk.man ${PREFIX}/man/man1/munpack.1
|
|
|
|
.include <bsd.port.mk>
|