naddy c326edce1b The ${PROJECT}.googlecode.com/files/ master sites are no longer
accessible, but the distfiles are still available at an archive URL.
Introduce MASTER_SITE_GOOGLECODE and use it for all affected ports.

ok czarkoff@ danj@ sthen@
2016-10-01 11:54:14 +00:00

30 lines
690 B
Makefile

# $OpenBSD: Makefile,v 1.32 2016/10/01 11:54:16 naddy Exp $
COMMENT= strip TeX/LaTeX codes from a file
DISTNAME= opendetex-2.8.1
PKGNAME= detex-2.8.1
CATEGORIES= print
HOMEPAGE= https://code.google.com/archive/p/opendetex/
MASTER_SITES= ${MASTER_SITE_GOOGLECODE:=opendetex/}
EXTRACT_SUFX= .tar.bz2
# NCSA/University of Illinois Open Source License
PERMIT_PACKAGE_CDROM= Yes
WANTLIB= c
MAKE_FLAGS= DESTDIR="${LOCALBASE}/bin" CFLAGS="${CFLAGS}"
WRKDIST= ${WRKDIR}/opendetex
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/detex ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/detex.1l ${PREFIX}/man/man1/detex.1
do-test:
cd ${WRKBUILD} && perl ${WRKSRC}/test.pl
.include <bsd.port.mk>