freebsd-ports/print/latex-resume/Makefile
Mathieu Arnold 60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00

37 lines
793 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= resume
PORTVERSION= 20010823
PORTREVISION= 3
CATEGORIES= print
MASTER_SITES= TEX_CTAN/macros/latex/contrib/${PORTNAME}
PKGNAMEPREFIX= latex-
DISTNAME= res
EXTRACT_SUFX= .cls
DIST_SUBDIR= ${PKGNAMEPREFIX}${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Resume class for LaTeX
USE_TEX= latex
NO_BUILD= yes
NO_WRKSUBDIR= yes
EXTRACT_CMD= ${CP}
EXTRACT_BEFORE_ARGS= # empty
EXTRACT_AFTER_ARGS= .
TEXMFDIR= share/texmf
MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
CLASSDIR= ${TEXMFDIR}/tex/latex/${PORTNAME}
CLASS_FILES= ${DISTFILES}
PLIST_SUB= MKTEXLSR=${MKTEXLSR} \
CLASSDIR=${CLASSDIR}
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${CLASSDIR}
${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} \
${STAGEDIR}${PREFIX}/${CLASSDIR}
.include <bsd.port.mk>